/*! 2024-09-10 16:39:26 v8.15.24 */
!(function (e) {
  function i(n) {
    if (o[n]) return o[n].exports;
    var r = (o[n] = { exports: {}, id: n, loaded: !1 });
    return e[n].call(r.exports, r, r.exports, i), (r.loaded = !0), r.exports;
  }
  var o = {};
  return (i.m = e), (i.c = o), (i.p = ""), i(0);
})([
  function (e, i) {
    "use strict";
    var o = window,
      n = document;
    !(function () {
      var e = 2,
        r = "ali_analytics";
      if (o[r] && o[r].ua && e <= o[r].ua.version)
        return void (i.info = o[r].ua);
      var t,
        a,
        d,
        s,
        c,
        u,
        h,
        l,
        m,
        b,
        f,
        v,
        p,
        w,
        g,
        x,
        z,
        O = o.navigator,
        k = O.appVersion,
        T = (O && O.userAgent) || "",
        y = function (e) {
          var i = 0;
          return parseFloat(
            e.replace(/\./g, function () {
              return 0 === i++ ? "." : "";
            })
          );
        },
        _ = function (e, i) {
          var o, n;
          (i[(o = "trident")] = 0.1),
            (n = e.match(/Trident\/([\d.]*)/)) && n[1] && (i[o] = y(n[1])),
            (i.core = o);
        },
        N = function (e) {
          var i, o;
          return (i = e.match(
            /MSIE ([^;]*)|Trident.*; rv(?:\s|:)?([0-9.]+)/
          )) && (o = i[1] || i[2])
            ? y(o)
            : 0;
        },
        P = function (e) {
          return e || "other";
        },
        M = function (e) {
          function i() {
            for (
              var i = [
                  ["Windows NT 5.1", "winXP"],
                  ["Windows NT 6.1", "win7"],
                  ["Windows NT 6.0", "winVista"],
                  ["Windows NT 6.2", "win8"],
                  ["Windows NT 10.0", "win10"],
                  ["iPad", "ios"],
                  ["iPhone;", "ios"],
                  ["iPod", "ios"],
                  ["Macintosh", "mac"],
                  ["Android", "android"],
                  ["Ubuntu", "ubuntu"],
                  ["Linux", "linux"],
                  ["Windows NT 5.2", "win2003"],
                  ["Windows NT 5.0", "win2000"],
                  ["Windows", "winOther"],
                  ["rhino", "rhino"],
                ],
                o = 0,
                n = i.length;
              o < n;
              ++o
            )
              if (e.indexOf(i[o][0]) !== -1) return i[o][1];
            return "other";
          }
          function r(e, i, n, r) {
            var t,
              a = o.navigator.mimeTypes;
            try {
              for (t in a)
                if (a.hasOwnProperty(t) && a[t][e] == i) {
                  if (void 0 !== n && r.test(a[t][n])) return !0;
                  if (void 0 === n) return !0;
                }
              return !1;
            } catch (e) {
              return !1;
            }
          }
          var t,
            a,
            d,
            s,
            c,
            u,
            h,
            l = "",
            m = l,
            b = l,
            f = [6, 9],
            v = "{{version}}",
            p = "<!--[if IE " + v + "]><s></s><![endif]-->",
            w = n && n.createElement("div"),
            g = [],
            x = {
              webkit: void 0,
              edge: void 0,
              trident: void 0,
              gecko: void 0,
              presto: void 0,
              chrome: void 0,
              safari: void 0,
              firefox: void 0,
              ie: void 0,
              ieMode: void 0,
              opera: void 0,
              mobile: void 0,
              core: void 0,
              shell: void 0,
              phantomjs: void 0,
              os: void 0,
              ipad: void 0,
              iphone: void 0,
              ipod: void 0,
              ios: void 0,
              android: void 0,
              nodejs: void 0,
              extraName: void 0,
              extraVersion: void 0,
            };
          if (
            (w &&
              w.getElementsByTagName &&
              ((w.innerHTML = p.replace(v, "")),
              (g = w.getElementsByTagName("s"))),
            g.length > 0)
          ) {
            for (_(e, x), s = f[0], c = f[1]; s <= c; s++)
              if (((w.innerHTML = p.replace(v, s)), g.length > 0)) {
                x[(b = "ie")] = s;
                break;
              }
            !x.ie && (d = N(e)) && (x[(b = "ie")] = d);
          } else
            ((a = e.match(/AppleWebKit\/*\s*([\d.]*)/i)) ||
              (a = e.match(/Safari\/([\d.]*)/))) &&
            a[1]
              ? ((x[(m = "webkit")] = y(a[1])),
                (a = e.match(/OPR\/(\d+\.\d+)/)) && a[1]
                  ? (x[(b = "opera")] = y(a[1]))
                  : (a = e.match(/Chrome\/([\d.]*)/)) && a[1]
                  ? (x[(b = "chrome")] = y(a[1]))
                  : (a = e.match(/\/([\d.]*) Safari/)) && a[1]
                  ? (x[(b = "safari")] = y(a[1]))
                  : (x.safari = x.webkit),
                (a = e.match(/Edge\/([\d.]*)/)) &&
                  a[1] &&
                  ((m = b = "edge"), (x[m] = y(a[1]))),
                / Mobile\//.test(e) && e.match(/iPad|iPod|iPhone/)
                  ? ((x.mobile = "apple"),
                    (a = e.match(/OS ([^\s]*)/)),
                    a && a[1] && (x.ios = y(a[1].replace("_", "."))),
                    (t = "ios"),
                    (a = e.match(/iPad|iPod|iPhone/)),
                    a && a[0] && (x[a[0].toLowerCase()] = x.ios))
                  : / Android/i.test(e)
                  ? (/Mobile/.test(e) && (t = x.mobile = "android"),
                    (a = e.match(/Android ([^\s]*);/)),
                    a && a[1] && (x.android = y(a[1])))
                  : (a = e.match(
                      /NokiaN[^\/]*|Android \d\.\d|webOS\/\d\.\d/
                    )) && (x.mobile = a[0].toLowerCase()),
                (a = e.match(/PhantomJS\/([^\s]*)/)) &&
                  a[1] &&
                  (x.phantomjs = y(a[1])))
              : (a = e.match(/Presto\/([\d.]*)/)) && a[1]
              ? ((x[(m = "presto")] = y(a[1])),
                (a = e.match(/Opera\/([\d.]*)/)) &&
                  a[1] &&
                  ((x[(b = "opera")] = y(a[1])),
                  (a = e.match(/Opera\/.* Version\/([\d.]*)/)) &&
                    a[1] &&
                    (x[b] = y(a[1])),
                  (a = e.match(/Opera Mini[^;]*/)) && a
                    ? (x.mobile = a[0].toLowerCase())
                    : (a = e.match(/Opera Mobi[^;]*/)) &&
                      a &&
                      (x.mobile = a[0])))
              : (d = N(e))
              ? ((x[(b = "ie")] = d), _(e, x))
              : (a = e.match(/Gecko/)) &&
                ((x[(m = "gecko")] = 0.1),
                (a = e.match(/rv:([\d.]*)/)) &&
                  a[1] &&
                  ((x[m] = y(a[1])),
                  /Mobile|Tablet/.test(e) && (x.mobile = "firefox")),
                (a = e.match(/Firefox\/([\d.]*)/)) &&
                  a[1] &&
                  (x[(b = "firefox")] = y(a[1])));
          t || (t = i());
          var z, O, T;
          if (!r("type", "application/vnd.chromium.remoting-viewer")) {
            (z = "scoped" in n.createElement("style")), (T = "v8Locale" in o);
            try {
              O = o.external || void 0;
            } catch (e) {}
            if ((a = e.match(/360SE/))) u = "360";
            else if ((a = e.match(/SE\s([\d.]*)/)) || (O && "SEVersion" in O))
              (u = "sougou"), (h = y(a[1]) || 0.1);
            else if ((a = e.match(/Maxthon(?:\/)+([\d.]*)/)) && O) {
              u = "maxthon";
              try {
                h = y(O.max_version || a[1]);
              } catch (e) {
                h = 0.1;
              }
            } else
              z && T
                ? (u = "360se")
                : z ||
                  T ||
                  !/Gecko\)\s+Chrome/.test(k) ||
                  x.opera ||
                  x.edge ||
                  (u = "360ee");
          }
          (a = e.match(/TencentTraveler\s([\d.]*)|QQBrowser\/([\d.]*)/))
            ? ((u = "tt"), (h = y(a[2]) || 0.1))
            : (a = e.match(/LBBROWSER/)) || (O && "LiebaoGetVersion" in O)
            ? (u = "liebao")
            : (a = e.match(/TheWorld/))
            ? ((u = "theworld"), (h = 3))
            : (a = e.match(/TaoBrowser\/([\d.]*)/))
            ? ((u = "taobao"), (h = y(a[1]) || 0.1))
            : (a = e.match(/UCBrowser\/([\d.]*)/)) &&
              ((u = "uc"), (h = y(a[1]) || 0.1)),
            (x.os = t),
            (x.core = x.core || m),
            (x.shell = b),
            (x.ieMode = (x.ie && n.documentMode) || x.ie),
            (x.extraName = u),
            (x.extraVersion = h);
          var P = o.screen.width,
            M = o.screen.height;
          return (x.resolution = P + "x" + M), x;
        },
        S = function (e) {
          function i(e) {
            return Object.prototype.toString.call(e);
          }
          function o(e, o, n) {
            if (("[object Function]" == i(o) && (o = o(n)), !o)) return null;
            var r = { name: e, version: "" },
              t = i(o);
            if (o === !0) return r;
            if ("[object String]" === t) {
              if (n.indexOf(o) !== -1) return r;
            } else if (o.exec) {
              var a = o.exec(n);
              if (a)
                return (
                  a.length >= 2 && a[1]
                    ? (r.version = a[1].replace(/_/g, "."))
                    : (r.version = ""),
                  r
                );
            }
          }
          var n = { name: "other", version: "" };
          e = (e || "").toLowerCase();
          for (
            var r = [
                [
                  "nokia",
                  function (e) {
                    return e.indexOf("nokia ") !== -1
                      ? /\bnokia ([0-9]+)?/
                      : /\bnokia([a-z0-9]+)?/;
                  },
                ],
                [
                  "samsung",
                  function (e) {
                    return e.indexOf("samsung") !== -1
                      ? /\bsamsung(?:[ \-](?:sgh|gt|sm))?-([a-z0-9]+)/
                      : /\b(?:sgh|sch|gt|sm)-([a-z0-9]+)/;
                  },
                ],
                [
                  "wp",
                  function (e) {
                    return (
                      e.indexOf("windows phone ") !== -1 ||
                      e.indexOf("xblwp") !== -1 ||
                      e.indexOf("zunewp") !== -1 ||
                      e.indexOf("windows ce") !== -1
                    );
                  },
                ],
                ["pc", "windows"],
                ["ipad", "ipad"],
                ["ipod", "ipod"],
                ["iphone", /\biphone\b|\biph(\d)/],
                ["mac", "macintosh"],
                ["mi", /\bmi[ \-]?([a-z0-9 ]+(?= build|\)))/],
                ["hongmi", /\bhm[ \-]?([a-z0-9]+)/],
                ["aliyun", /\baliyunos\b(?:[\-](\d+))?/],
                [
                  "meizu",
                  function (e) {
                    return e.indexOf("meizu") >= 0
                      ? /\bmeizu[\/ ]([a-z0-9]+)\b/
                      : /\bm([0-9x]{1,3})\b/;
                  },
                ],
                ["nexus", /\bnexus ([0-9s.]+)/],
                [
                  "huawei",
                  function (e) {
                    var i = /\bmediapad (.+?)(?= build\/huaweimediapad\b)/;
                    return e.indexOf("huawei-huawei") !== -1
                      ? /\bhuawei\-huawei\-([a-z0-9\-]+)/
                      : i.test(e)
                      ? i
                      : /\bhuawei[ _\-]?([a-z0-9]+)/;
                  },
                ],
                [
                  "lenovo",
                  function (e) {
                    return e.indexOf("lenovo-lenovo") !== -1
                      ? /\blenovo\-lenovo[ \-]([a-z0-9]+)/
                      : /\blenovo[ \-]?([a-z0-9]+)/;
                  },
                ],
                [
                  "zte",
                  function (e) {
                    return /\bzte\-[tu]/.test(e)
                      ? /\bzte-[tu][ _\-]?([a-su-z0-9\+]+)/
                      : /\bzte[ _\-]?([a-su-z0-9\+]+)/;
                  },
                ],
                ["vivo", /\bvivo(?: ([a-z0-9]+))?/],
                [
                  "htc",
                  function (e) {
                    return /\bhtc[a-z0-9 _\-]+(?= build\b)/.test(e)
                      ? /\bhtc[ _\-]?([a-z0-9 ]+(?= build))/
                      : /\bhtc[ _\-]?([a-z0-9 ]+)/;
                  },
                ],
                ["oppo", /\boppo[_]([a-z0-9]+)/],
                ["konka", /\bkonka[_\-]([a-z0-9]+)/],
                ["sonyericsson", /\bmt([a-z0-9]+)/],
                ["coolpad", /\bcoolpad[_ ]?([a-z0-9]+)/],
                ["lg", /\blg[\-]([a-z0-9]+)/],
                ["android", /\bandroid\b|\badr\b/],
                [
                  "blackberry",
                  function (e) {
                    return e.indexOf("blackberry") >= 0
                      ? /\bblackberry\s?(\d+)/
                      : "bb10";
                  },
                ],
              ],
              t = 0;
            t < r.length;
            t++
          ) {
            var a = r[t][0],
              d = r[t][1],
              s = o(a, d, e);
            if (s) {
              n = s;
              break;
            }
          }
          return n;
        },
        E = 1;
      try {
        (t = M(T)),
          (a = S(T)),
          (d = t.os),
          (s = t.shell),
          (c = t.core),
          (u = t.resolution),
          (h = t.extraName),
          (l = t.extraVersion),
          (m = a.name),
          (b = a.version),
          (v = d ? d + (t[d] ? t[d] : "") : ""),
          (p = s ? s + parseInt(t[s]) : ""),
          (w = c),
          (g = u),
          (x = h ? h + (l ? parseInt(l) : "") : ""),
          (z = m + b);
      } catch (e) {}
      (f = { p: E, o: P(v), b: P(p), w: P(w), s: g, mx: x, ism: z }),
        o[r] || (o[r] = {}),
        o[r].ua || (o[r].ua = {}),
        o.goldlog || (o.goldlog = {}),
        (i.info = o[r].ua = goldlog._aplus_client = { version: e, ua_info: f });
    })();
  },
]); /*! 2017-10-31 20:15:15 v0.2.4 */
!(function (t) {
  function e(o) {
    if (n[o]) return n[o].exports;
    var i = (n[o] = { exports: {}, id: o, loaded: !1 });
    return t[o].call(i.exports, i, i.exports, e), (i.loaded = !0), i.exports;
  }
  var n = {};
  return (e.m = t), (e.c = n), (e.p = ""), e(0);
})([
  function (t, e, n) {
    "use strict";
    !(function () {
      var t = window.goldlog || (window.goldlog = {});
      t._aplus_cplugin_utilkit ||
        ((t._aplus_cplugin_utilkit = { status: "init" }),
        n(1).init(t),
        (t._aplus_cplugin_utilkit.status = "complete"));
    })();
  },
  function (t, e, n) {
    "use strict";
    var o = n(2),
      i = n(4);
    e.init = function (t) {
      (t.setCookie = o.setCookie), (t.getCookie = o.getCookie), (t.on = i.on);
    };
  },
  function (t, e, n) {
    "use strict";
    var o = document,
      i = n(3),
      a = function (t) {
        var e = new RegExp("(?:^|;)\\s*" + t + "=([^;]+)"),
          n = o.cookie.match(e);
        return n ? n[1] : "";
      };
    e.getCookie = a;
    var r = function (t, e, n) {
      n || (n = {});
      var i = new Date();
      return (
        n.expires && ("number" == typeof n.expires || n.expires.toUTCString)
          ? ("number" == typeof n.expires
              ? i.setTime(i.getTime() + 24 * n.expires * 60 * 60 * 1e3)
              : (i = n.expires),
            (e += "; expires=" + i.toUTCString()))
          : "session" !== n.expires &&
            (i.setTime(i.getTime() + 63072e7),
            (e += "; expires=" + i.toUTCString())),
        (e += "; path=" + (n.path ? n.path : "/")),
        (e += "; domain=" + n.domain),
        (o.cookie = t + "=" + e),
        a(t)
      );
    };
    e.setCookie = function (t, e, n) {
      try {
        if ((n || (n = {}), n.domain)) r(t, e, n);
        else
          for (var o = i.getDomains(), a = 0; a < o.length; )
            (n.domain = o[a]), r(t, e, n) ? (a = o.length) : a++;
      } catch (t) {}
    };
  },
  function (t, e) {
    "use strict";
    e.getDomains = function () {
      var t = [];
      try {
        for (
          var e = location.hostname, n = e.split("."), o = 2;
          o <= n.length;

        )
          t.push(n.slice(n.length - o).join(".")), o++;
      } catch (t) {}
      return t;
    };
  },
  function (t, e) {
    "use strict";
    var n = window,
      o = document,
      i = !!o.attachEvent,
      a = "attachEvent",
      r = "addEventListener",
      c = i ? a : r,
      u = function (t, e) {
        var n = goldlog._$ || {},
          o = n.meta_info || {},
          i = o.aplus_ctap || {};
        if (i && "function" == typeof i.on) i.on(t, e);
        else {
          var a = "ontouchend" in document.createElement("div"),
            r = a ? "touchstart" : "mousedown";
          s(t, r, e);
        }
      },
      s = function (t, e, o) {
        return "tap" === e
          ? void u(t, o)
          : void t[c](
              (i ? "on" : "") + e,
              function (t) {
                t = t || n.event;
                var e = t.target || t.srcElement;
                "function" == typeof o && o(t, e);
              },
              !1
            );
      };
    e.on = s;
    var d = function (t) {
        try {
          o.documentElement.doScroll("left");
        } catch (e) {
          return void setTimeout(function () {
            d(t);
          }, 1);
        }
        t();
      },
      l = function (t) {
        var e = 0,
          n = function () {
            0 === e && t(), e++;
          };
        "complete" === o.readyState && n();
        var i;
        if (o.addEventListener)
          (i = function () {
            o.removeEventListener("DOMContentLoaded", i, !1), n();
          }),
            o.addEventListener("DOMContentLoaded", i, !1),
            window.addEventListener("load", n, !1);
        else if (o.attachEvent) {
          (i = function () {
            "complete" === o.readyState &&
              (o.detachEvent("onreadystatechange", i), n());
          }),
            o.attachEvent("onreadystatechange", i),
            window.attachEvent("onload", n);
          var a = !1;
          try {
            a = null === window.frameElement;
          } catch (t) {}
          o.documentElement.doScroll && a && d(n);
        }
      };
    (e.DOMReady = function (t) {
      l(t);
    }),
      (e.onload = function (t) {
        "complete" === o.readyState ? t() : s(n, "load", t);
      });
  },
]);
!(function (o) {
  function t(r) {
    if (e[r]) return e[r].exports;
    var a = (e[r] = { exports: {}, id: r, loaded: !1 });
    return o[r].call(a.exports, a, a.exports, t), (a.loaded = !0), a.exports;
  }
  var e = {};
  return (t.m = o), (t.c = e), (t.p = ""), t(0);
})([
  function (o, t, e) {
    "use strict";
    !(function () {
      var o = window.goldlog || (window.goldlog = {});
      o._aplus_cplugin_m || (o._aplus_cplugin_m = e(1).run());
    })();
  },
  function (o, t, e) {
    "use strict";
    var r = e(2),
      a = e(3),
      n = e(4),
      s = navigator.sendBeacon ? "post" : "get";
    e(5).run(),
      (t.run = function () {
        return {
          status: "complete",
          do_tracker_jserror: function (o) {
            try {
              var t = new n({
                  logkey: o ? o.logkey : "",
                  ratio:
                    o && "number" == typeof o.ratio && o.ratio > 0
                      ? o.ratio
                      : r.jsErrorRecordRatio,
                }),
                e = [
                  "Message: " + o.message,
                  "Error object: " + o.error,
                  "Url: " + location.href,
                ].join(" - "),
                c = goldlog.spm_ab || [],
                i = location.hostname + location.pathname;
              t.run({
                code: 110,
                page: i,
                msg: "record_jserror_by" + s + "_" + o.message,
                spm_a: c[0],
                spm_b: c[1],
                c1: e,
                c2: o.filename,
                c3: location.protocol + "//" + i,
                c4: goldlog.pvid || "",
                c5: o.logid || "",
              });
            } catch (o) {
              a.logger({ msg: o });
            }
          },
          do_tracker_lostpv: function (o) {
            var t = !1;
            try {
              if (o && o.page) {
                var e = o.spm_ab ? o.spm_ab.split(".") : [],
                  c = "record_lostpv_by" + s + "_" + o.msg,
                  i = new n({ ratio: o.ratio || r.lostPvRecordRatio });
                i.run({
                  code: 102,
                  page: o.page,
                  msg: c,
                  spm_a: e[0],
                  spm_b: e[1],
                  c1: o.duration,
                  c2: o.page_url,
                }),
                  (t = !0);
              }
            } catch (o) {
              a.logger({ msg: o });
            }
            return t;
          },
          do_tracker_obsolete_inter: function (o) {
            var t = !1;
            try {
              if (o && o.page) {
                var e = o.spm_ab ? o.spm_ab.split(".") : [],
                  c = "record_obsolete interface be called by" + s,
                  i = new n({ ratio: o.ratio || r.obsoleteInterRecordRatio });
                i.run(
                  {
                    code: 109,
                    page: o.page,
                    msg: c,
                    spm_a: e[0],
                    spm_b: e[1],
                    c1: o.interface_name,
                    c2: o.interface_params,
                  },
                  1
                ),
                  (t = !0);
              }
            } catch (o) {
              a.logger({ msg: o });
            }
            return t;
          },
          do_tracker_browser_support: function (o) {
            var t = !1;
            try {
              if (o && o.page) {
                var e = o.spm_ab ? o.spm_ab.split(".") : [],
                  c = new n({ ratio: o.ratio || r.browserSupportRatio }),
                  i = goldlog._aplus_client || {},
                  l = i.ua_info || {};
                c.run({
                  code: 111,
                  page: o.page,
                  msg: o.msg + "_by" + s,
                  spm_a: e[0],
                  spm_b: e[1],
                  c1: [l.o, l.b, l.w].join("_"),
                  c2: o.etag || "",
                  c3: o.cna || "",
                }),
                  (t = !0);
              }
            } catch (o) {
              a.logger({ msg: o });
            }
            return t;
          },
          do_tracker_common_analysis: function (o) {
            var t = !1;
            try {
              if (o && o.page) {
                var e = o.spm_ab ? o.spm_ab.split(".") : [],
                  c = new n({ ratio: o.ratio || r.browserSupportRatio }),
                  i = goldlog._aplus_client || {},
                  l = i.ua_info || {};
                c.run({
                  code: 113,
                  page: o.page,
                  msg: o.msg + "_by" + s,
                  spm_a: e[0],
                  spm_b: e[1],
                  c1: [l.o, l.b, l.w].join("_"),
                  c2: o.init_time || "",
                  c3: o.wspv_time || 0,
                  c4: o.load_time || 0,
                  c5: o.channel_type,
                }),
                  (t = !0);
              }
            } catch (o) {
              a.logger({ msg: o });
            }
            return t;
          },
        };
      });
  },
  function (o, t) {
    "use strict";
    (t.lostPvRecordRatio = "0.01"),
      (t.obsoleteInterRecordRatio = "0.001"),
      (t.jsErrorRecordRatio = "0.001"),
      (t.browserSupportRatio = "0.001"),
      (t.goldlogQueueRatio = "0.01");
  },
  function (o, t) {
    "use strict";
    var e = function (o) {
      var t = o.level || "warn";
      window.console && window.console[t] && window.console[t](o.msg);
    };
    (t.logger = e),
      (t.assign = function (o, t) {
        if ("function" != typeof Object.assign) {
          var e = function (o) {
            if (null === o)
              throw new TypeError("Cannot convert undefined or null to object");
            for (var t = Object(o), e = 1; e < arguments.length; e++) {
              var r = arguments[e];
              if (null !== r)
                for (var a in r)
                  Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
            }
            return t;
          };
          return e(o, t);
        }
        return Object.assign({}, o, t);
      }),
      (t.makeCacheNum = function () {
        return Math.floor(268435456 * Math.random()).toString(16);
      }),
      (t.obj2param = function (o) {
        var t,
          e,
          r = [];
        for (t in o)
          o.hasOwnProperty(t) &&
            ((e = "" + o[t]), r.push(t + "=" + encodeURIComponent(e)));
        return r.join("&");
      });
  },
  function (o, t, e) {
    var r = e(3),
      a = { ratio: 1, logkey: "fsp.1.1", gmkey: "", chksum: "H46747615" },
      n = function (o) {
        (o && "object" == typeof o) || (o = a),
          (this.opts = o),
          (this.opts.ratio = o.ratio || a.ratio),
          (this.opts.logkey = o.logkey || a.logkey),
          (this.opts.gmkey = o.gmkey || a.gmkey),
          (this.opts.chksum = o.chksum || a.chksum);
      },
      s = n.prototype;
    (s.getRandom = function () {
      return Math.floor(1e3 * Math.random()) + 1;
    }),
      (s.run = function (o, t) {
        var e,
          a,
          n = { pid: "aplus", code: 101, msg: "异常内容" },
          s = "";
        try {
          var c = window.goldlog || {},
            i = c._$ || {},
            l = i.meta_info || {},
            g = parseFloat(l["aplus-tracker-rate"]);
          if (
            ((e = this.opts || {}),
            ("number" == typeof g && g + "" != "NaN") || (g = e.ratio),
            (a = this.getRandom()),
            t || a <= 1e3 * g)
          ) {
            (s = "//gm.mmstat.com/" + e.logkey),
              (o.rel = i.script_name + "@" + c.lver),
              (o.type = o.code),
              (o.uid = encodeURIComponent(c.getCookie("cna"))),
              (o = r.assign(n, o));
            var u = r.obj2param(o);
            c.tracker = c.send(
              s,
              { cache: r.makeCacheNum(), gokey: u, logtype: "2" },
              "POST"
            );
          }
        } catch (o) {
          r.logger({ msg: "tracker.run() exec error: " + o });
        }
      }),
      (o.exports = n);
  },
  function (o, t, e) {
    "use strict";
    var r = e(6),
      a = function (o) {
        var t = window.goldlog || {},
          e = (t._$ = t._$ || {}),
          r = t.spm_ab ? t.spm_ab.join(".") : "0.0",
          a = e.send_pv_count || 0;
        if (a < 1 && navigator && navigator.sendBeacon) {
          var n = window.goldlog_queue || (window.goldlog_queue = []),
            s = location.hostname + location.pathname;
          n.push({
            action: ["goldlog", "_aplus_cplugin_m", "do_tracker_lostpv"].join(
              "."
            ),
            arguments: [
              {
                page: s,
                page_url: location.protocol + "//" + s,
                duration: o,
                spm_ab: r,
                msg: "dom_state=" + document.readyState,
              },
            ],
          });
        }
      };
    t.run = function () {
      var o = new Date();
      r.on(window, "beforeunload", function () {
        var t = new Date(),
          e = t.getTime() - o.getTime();
        a(e);
      });
    };
  },
  function (o, t) {
    "use strict";
    var e = self,
      r = e.document,
      a = !!r.attachEvent,
      n = "attachEvent",
      s = "addEventListener",
      c = a ? n : s;
    (t.getIframeUrl = function (o) {
      var t,
        e = "//g.alicdn.com";
      return (
        (t =
          goldlog && "function" == typeof goldlog.getCdnPath
            ? goldlog.getCdnPath() || e
            : e),
        (o || "https") +
          ":" +
          t +
          "/alilog/aplus_cplugin/@@APLUS_CPLUGIN_VER/ls.html?t=@@_VERSION_"
      );
    }),
      (t.on = function (o, t, r) {
        o[c](
          (a ? "on" : "") + t,
          function (o) {
            o = o || e.event;
            var t = o.target || o.srcElement;
            "function" == typeof r && r(o, t);
          },
          !1
        );
      }),
      (t.checkLs = function () {
        var o;
        try {
          window.localStorage &&
            (localStorage.setItem("test_log_cna", "1"),
            "1" === localStorage.getItem("test_log_cna") &&
              (localStorage.removeItem("test_log_cna"), (o = !0)));
        } catch (t) {
          o = !1;
        }
        return o;
      }),
      (t.tracker_iframe_status = function (o, t) {
        var e = window.goldlog_queue || (window.goldlog_queue = []),
          r = goldlog.spm_ab ? goldlog.spm_ab.join(".") : "",
          a = "createIframe_" + t.status + "_id=" + o;
        t.msg && (a += "_" + t.msg),
          e.push({
            action: "goldlog._aplus_cplugin_m.do_tracker_browser_support",
            arguments: [
              {
                page: location.hostname + location.pathname,
                msg: a,
                browser_attr: navigator.userAgent,
                spm_ab: r,
                cna: t.duration || "",
                ratio: 1,
              },
            ],
          });
      }),
      (t.tracker_ls_failed = function () {
        var o = window.goldlog_queue || (window.goldlog_queue = []),
          t = goldlog.spm_ab ? goldlog.spm_ab.join(".") : "";
        o.push({
          action: "goldlog._aplus_cplugin_m.do_tracker_browser_support",
          arguments: [
            {
              page: location.hostname + location.pathname,
              msg: "donot support localStorage",
              browser_attr: navigator.userAgent,
              spm_ab: t,
            },
          ],
        });
      }),
      (t.processMsgData = function (o) {
        var t = {};
        try {
          var e = "{}";
          (e =
            "TextEncoder" in window && "object" == typeof o
              ? new window.TextDecoder("utf-8").decode(o)
              : o),
            (t = JSON.parse(e));
        } catch (o) {
          t = {};
        }
        return t;
      }),
      (t.do_pub_fn = function (o, t) {
        var e = window.goldlog_queue || (window.goldlog_queue = []);
        e.push({ action: "goldlog.aplus_pubsub.publish", arguments: [o, t] }),
          e.push({
            action: "goldlog.aplus_pubsub.cachePubs",
            arguments: [o, t],
          });
      });
  },
]); /*! 2024-09-10 16:39:21 v8.15.24 */
!(function (t) {
  function e(o) {
    if (n[o]) return n[o].exports;
    var a = (n[o] = { exports: {}, id: o, loaded: !1 });
    return t[o].call(a.exports, a, a.exports, e), (a.loaded = !0), a.exports;
  }
  var n = {};
  return (e.m = t), (e.c = n), (e.p = ""), e(0);
})([
  function (t, e, n) {
    t.exports = n(1);
  },
  function (t, e, n) {
    "use strict";
    !(function () {
      var t = window;
      n(2)();
      var e = n(3),
        o = n(4);
      "ontouchend" in document.createElement("div") &&
        (t.goldlog_queue || (t.goldlog_queue = [])).push({
          action: "goldlog.setMetaInfo",
          arguments: ["aplus-touch", "tap"],
        });
      var a = function () {
          n(96);
          var e = n(98),
            o = n(32);
          if (
            (o.doPubMsg(["goldlogReady", "running"]),
            document.getElementsByTagName("body").length)
          ) {
            var r = "g_tb_aplus_loaded";
            if (t[r]) return;
            (t[r] = 1), n(112).initGoldlog(e);
          } else
            setTimeout(function () {
              a();
            }, 50);
        },
        r = function (t) {
          try {
            e.do_tracker_jserror({
              ratio: 1,
              message: t && t.message,
              error: encodeURIComponent(t && t.stack ? t.stack : ""),
              filename: "aplusLoad",
            });
          } catch (t) {}
        };
      try {
        a();
      } catch (t) {
        r(t, o.script_name + "@" + o.lver);
      }
    })();
  },
  function (t, e) {
    t.exports = function () {
      var t = window.goldlog_queue || (window.goldlog_queue = []);
      try {
        var e = navigator.userAgent,
          n = /Trident/.test(e);
        n ||
          t.push({
            action: "goldlog.setMetaInfo",
            arguments: [
              "aplus-p-url-init",
              window.location.href.substring(0, 850),
            ],
          });
      } catch (t) {}
    };
  },
  function (t, e) {
    "use strict";
    var n = function (t, e) {
        var n = window.goldlog_queue || (window.goldlog_queue = []);
        n.push({
          action: "goldlog._aplus_cplugin_track_deb.monitor",
          arguments: [
            {
              key: "APLUS_PLUGIN_DEBUG",
              title: "aplus_core",
              msg: ["_error_:methodName=" + e + ",params=" + JSON.stringify(t)],
              type: "updateMsg",
              description: e || "aplus_core",
            },
          ],
        });
      },
      o = function (t, e, n) {
        var o = window.goldlog_queue || (window.goldlog_queue = []);
        o.push({
          action: ["goldlog", "_aplus_cplugin_m", e].join("."),
          arguments: [t, n],
        });
      };
    (e.do_tracker_jserror = function (t, e) {
      var a = "do_tracker_jserror";
      o(t, a, e), n(t, a);
    }),
      (e.do_tracker_obsolete_inter = function (t, e) {
        var a = "do_tracker_obsolete_inter";
        o(t, a, e), n(t, a);
      }),
      (e.wrap = function (t) {
        if ("function" == typeof t)
          try {
            t();
          } catch (t) {
            n({ msg: t.message || t }, "exception");
          } finally {
          }
      });
  },
  function (t, e, n) {
    "use strict";
    var o = n(5),
      a = n(6),
      r = n(7);
    (e.APLUS_ENV = "production"),
      (e.lver = a.lver),
      (e.toUtVersion = a.toUtVersion),
      (e.script_name = a.script_name),
      (e.recordTypes = o.recordTypes),
      (e.KEY = o.KEY),
      (e.context = r.context),
      (e.context_prepv = r.context_prepv),
      (e.aplus_init = n(16).plugins_init),
      (e.plugins_pv = n(36).plugins_pv),
      (e.plugins_prepv = n(65).plugins_prepv),
      (e.context_hjlj = n(66)),
      (e.plugins_hjlj = n(68).plugins_hjlj),
      (e.beforeUnload = n(78)),
      (e.initLoad = n(82)),
      (e.spmException = n(86)),
      (e.goldlog_path = n(87)),
      (e.is_auto_pv = "true"),
      (e.utilPvid = n(91)),
      (e.disablePvid = "false"),
      (e.mustSpmE = !0),
      (e.LS_CNA_KEY = "APLUS_CNA");
  },
  function (t, e) {
    "use strict";
    (e.recordTypes = {
      hjlj: "COMMON_HJLJ",
      uhjlj: "DATACLICK_HJLJ",
      pv: "PV",
      prepv: "PREPV",
    }),
      (e.KEY = {
        NAME_STORAGE: {
          REFERRER: "wm_referrer",
          REFERRER_PV_ID: "refer_pv_id",
          LOST_PV_PAGE_DURATION: "lost_pv_page_duration",
          LOST_PV_PAGE_SPMAB: "lost_pv_page_spmab",
          LOST_PV_PAGE: "lost_pv_page",
          LOST_PV_PAGE_MSG: "lost_pv_page_msg",
        },
      });
  },
  function (t, e) {
    "use strict";
    (e.lver = "8.15.24"),
      (e.toUtVersion = "v20240910"),
      (e.script_name = "aplus_std");
  },
  function (t, e, n) {
    "use strict";
    (e.context = n(8)), (e.context_prepv = n(15));
  },
  function (t, e, n) {
    "use strict";
    function o() {
      return {
        compose: { maxTimeout: 5500 },
        etag: { egUrl: "log.mmstat.com/eg.js", cna: i.getCookie("cna") },
      };
    }
    function a() {
      return r.assign(new s.initConfig(), new o());
    }
    var r = n(9),
      i = n(11),
      s = n(14);
    t.exports = a;
  },
  function (t, e, n) {
    "use strict";
    function o(t, e) {
      return "function" != typeof Object.assign
        ? (function (t) {
            if (null === t)
              throw new TypeError("Cannot convert undefined or null to object");
            for (var e = Object(t), n = 1; n < arguments.length; n++) {
              var o = arguments[n];
              if (null !== o)
                for (var a in o)
                  Object.prototype.hasOwnProperty.call(o, a) && (e[a] = o[a]);
            }
            return e;
          })(t, e)
        : Object.assign({}, t, e);
    }
    function a(t) {
      return "function" == typeof t;
    }
    function r(t) {
      return Array.isArray
        ? Array.isArray(t)
        : /Array/.test(Object.prototype.toString.call(t));
    }
    function i(t) {
      return "string" == typeof t;
    }
    function s(t) {
      return "number" == typeof t;
    }
    function u(t) {
      return "undefined" == typeof t;
    }
    function c(t) {
      return "[object Object]" === Object.prototype.toString.call(t);
    }
    function l(t) {
      if ("number" == typeof t) return !1;
      if (u(t) || null === t) return !0;
      if (i(t)) return !t;
      if (r(t)) return !t.length;
      if (c(t)) {
        for (var e in t) if (hasOwnProperty.call(t, e)) return !1;
        return !0;
      }
      return !1;
    }
    function p(t) {
      if ("string" == typeof t)
        try {
          var e = JSON.parse(t);
          return !("object" != typeof e || !e);
        } catch (t) {
          return !1;
        }
      return !1;
    }
    function g(t, e) {
      return t.indexOf(e) > -1;
    }
    var f = window;
    (e.assign = o),
      (e.makeCacheNum = function () {
        return Math.floor(268435456 * Math.random()).toString(16);
      }),
      (e.each = n(10)),
      (e.isStartWith = function (t, e) {
        return 0 === t.indexOf(e);
      }),
      (e.isEndWith = function (t, e) {
        var n = t.length,
          o = e.length;
        return n >= o && t.indexOf(e) == n - o;
      }),
      (e.any = function (t, e) {
        var n,
          o = t.length;
        for (n = 0; n < o; n++) if (e(t[n])) return !0;
        return !1;
      }),
      (e.isFunction = a),
      (e.isArray = r),
      (e.isString = i),
      (e.isNumber = s),
      (e.isUnDefined = u),
      (e.isObject = c),
      (e.isEmpty = l),
      (e.isJSON = p),
      (e.isContain = g);
    var d = function (t) {
      var e,
        n = t.constructor === Array ? [] : {};
      if ("object" == typeof t) {
        if (f.JSON && f.JSON.parse)
          (e = JSON.stringify(t)), (n = JSON.parse(e));
        else for (var o in t) n[o] = "object" == typeof t[o] ? d(t[o]) : t[o];
        return n;
      }
    };
    (e.cloneObj = d), (e.cloneDeep = d);
  },
  function (t, e) {
    "use strict";
    t.exports = function (t, e) {
      var n,
        o = t.length;
      for (n = 0; n < o; n++) {
        var a = e(t[n], n);
        if ("break" === a) break;
      }
    };
  },
  function (t, e, n) {
    "use strict";
    function o(t) {
      var e = s.cookie.match(new RegExp("(?:^|;)\\s*" + t + "=([^;]+)"));
      return e ? e[1] : "";
    }
    function a(t, e, n) {
      n || (n = {});
      var a = new Date();
      if ("session" === n.expires);
      else if (
        n.expires &&
        ("number" == typeof n.expires || n.expires.toUTCString)
      )
        "number" == typeof n.expires
          ? a.setTime(a.getTime() + 24 * n.expires * 60 * 60 * 1e3)
          : (a = n.expires),
          (e += "; expires=" + a.toUTCString());
      else {
        var r = 20;
        c.indexof(
          ["v.youku.com", "www.youku.com", "player.youku.com"],
          location.hostname
        ) > -1 && (r = 1),
          a.setTime(a.getTime() + 365 * r * 24 * 60 * 60 * 1e3),
          (e += "; expires=" + a.toUTCString());
      }
      (e += "; path=" + (n.path ? n.path : "/")),
        (e += "; domain=" + n.domain),
        (s.cookie = t + "=" + e);
      var i = 0;
      try {
        var u = navigator.userAgent.match(/Chrome\/\d+/);
        u && u[0] && ((i = u[0].split("/")[1]), i && (i = parseInt(i)));
      } catch (t) {}
      return (
        n.SameSite &&
          i >= 80 &&
          ((e += "; SameSite=" + n.SameSite),
          (e += "; Secure"),
          (s.cookie = t + "=" + e)),
        o(t)
      );
    }
    function r(t, e, n) {
      try {
        if ((n || (n = {}), n.domain)) a(t, e, n);
        else
          for (var o = l.getDomains(), r = 0; r < o.length; )
            (n.domain = o[r]), a(t, e, n) ? (r = o.length) : r++;
      } catch (t) {}
    }
    function i() {
      var t = {};
      return (
        u.each(g, function (e) {
          t[e] = o(e);
        }),
        (t.cnaui = /\btanx\.com$/.test(p) ? o("cnaui") : ""),
        t
      );
    }
    var s = document,
      u = n(9),
      c = n(12),
      l = n(13),
      p = location.hostname;
    (e.getCookie = o), (e.setCookie = r);
    var g = ["tracknick", "thw", "cna"];
    (e.getData = i),
      (e.getHng = function () {
        return encodeURIComponent(o("hng") || "");
      });
  },
  function (t, e) {
    "use strict";
    e.indexof = function (t, e) {
      var n = -1;
      try {
        n = t.indexOf(e);
      } catch (a) {
        for (var o = 0; o < t.length; o++) t[o] === e && (n = o);
      } finally {
        return n;
      }
    };
  },
  function (t, e) {
    "use strict";
    e.getDomains = function () {
      var t = [];
      try {
        for (
          var e = location.hostname, n = e.split("."), o = 2;
          o <= n.length;

        )
          t.push(n.slice(n.length - o).join(".")), o++;
      } catch (t) {}
      return t;
    };
  },
  function (t, e, n) {
    "use strict";
    function o(t, e, n) {
      var o = window.goldlog || {},
        s = o.getMetaInfo("aplus-ifr-pv") + "" == "1";
      return e
        ? r(t)
          ? "yt"
          : "m"
        : n && !s
        ? a.isContain(t, "wrating.com")
          ? "k"
          : i(t) || "y"
        : i(t) || "v";
    }
    var a = n(9),
      r = function (t) {
        for (
          var e = ["youku.com", "soku.com", "tudou.com", "laifeng.com"], n = 0;
          n < e.length;
          n++
        ) {
          var o = e[n];
          if (a.isContain(t, o)) return !0;
        }
        return !1;
      },
      i = function (t) {
        for (
          var e = [
              ["scmp.com", "sc"],
              ["luxehomes.com.hk", "sc"],
              ["ays.com.hk", "sc"],
              ["cpjobs.com", "sc"],
              ["educationpost.com.hk", "sc"],
              ["cosmopolitan.com.hk", "sc"],
              ["elle.com.hk", "sc"],
              ["harpersbazaar.com.hk", "sc"],
              ["1688.com", "6"],
              ["youku.com", "yt"],
              ["soku.com", "yt"],
              ["tudou.com", "yt"],
              ["laifeng.com", "yt"],
            ],
            n = 0;
          n < e.length;
          n++
        ) {
          var o = e[n];
          if (a.isContain(t, o[0])) return o[1];
        }
        return "";
      };
    (e.getBeaconSrc = o),
      (e.initConfig = function () {
        return {
          compose: {},
          etag: {
            egUrl: "log.mmstat.com/eg.js",
            cna: "",
            tag: "",
            stag: "",
            lstag: "-1",
            lscnastatus: "",
          },
          can_to_sendpv: { flag: "NO" },
          userdata: {},
          what_to_sendpv: { pvdata: {}, exparams: {} },
          what_to_pvhash: { hash: [] },
          what_to_sendpv_ut: { pvdataToUt: {} },
          what_to_sendpv_ut2: { isSuccess: !1, pvdataToUt: {} },
          when_to_sendpv: { aplusWaiting: "" },
          where_to_sendpv: { url: "//log.mmstat.com/o.gif", urlRule: o },
          where_to_sendlog_ut: { aplusToUT: {}, toUTName: "toUT" },
          hjlj: {
            what_to_hjlj: { logdata: {} },
            what_to_hjlj_ut: { logdataToUT: {} },
          },
          network: { connType: "UNKNOWN" },
          is_single: !1,
        };
      });
  },
  function (t, e, n) {
    "use strict";
    function o() {
      return {
        etag: {
          egUrl: "log.mmstat.com/eg.js",
          cna: a.getCookie("cna"),
          tag: "",
          stag: "",
        },
        compose: {},
        where_to_prepv: {
          url: "//log.mmstat.com/v.gif",
          urlRule: r.getBeaconSrc,
        },
        userdata: {},
        what_to_prepv: { logdata: {} },
        what_to_hjlj_exinfo: {
          EXPARAMS_FLAG: "EXPARAMS",
          exinfo: [],
          exparams_key_names: ["uidaplus", "pc_i", "pu_i"],
        },
        is_single: !1,
      };
    }
    var a = n(11),
      r = n(14);
    t.exports = o;
  },
  function (t, e, n) {
    "use strict";
    e.plugins_init = [
      { name: "where_to_sendpv", enable: !0, path: n(17) },
      { name: "etag", enable: !0, path: n(31) },
      { name: "etag_sync", enable: !0, path: n(35) },
    ];
  },
  function (t, e, n) {
    "use strict";
    var o = n(18),
      a = n(25),
      r = n(26);
    t.exports = function () {
      return {
        init: function (t) {
          this.options = t;
        },
        getMetaInfo: function () {
          var t = a.getGoldlogVal("_$") || {},
            e = t.meta_info || r.getInfo();
          return e;
        },
        getAplusMetaByKey: function (t) {
          var e = this.getMetaInfo() || {};
          return e[t];
        },
        getGifPath: function (t, e) {
          var n,
            r = a.getGoldlogVal("_$") || {};
          if ("function" == typeof t)
            n = t(location.hostname, r.is_terminal, o.is_in_iframe) + ".gif";
          else if (!n && e) {
            var i = e.match(/\/\w+\.gif/);
            i && i.length > 0 && (n = i[0]);
          }
          return n || (n = r.is_terminal ? "m.gif" : "v.gif"), n;
        },
        run: function () {
          var t = !!this.options.context.is_single;
          if (!t) {
            var e = this.getAplusMetaByKey("aplus-rhost-v"),
              n = this.options.context.where_to_sendpv || {},
              a = n.url || "",
              r = this.getGifPath(n.urlRule, a),
              i = o.getPvUrl({
                metaName: "aplus-rhost-v",
                metaValue: e,
                gifPath: r,
                url: o.filterIntUrl(a),
              });
            (n.url = i), (this.options.context.where_to_sendpv = n);
          }
        },
      };
    };
  },
  function (t, e, n) {
    "use strict";
    function o(t) {
      t = (t || "").split("#")[0].split("?")[0];
      var e = t.length,
        n = function (t) {
          var e,
            n = t.length,
            o = 0;
          for (e = 0; e < n; e++) o = 31 * o + t.charCodeAt(e);
          return o;
        };
      return e ? n(e + "#" + t.charCodeAt(e - 1)) : -1;
    }
    function a(t) {
      for (var e = t.split("&"), n = 0, o = e.length, a = {}; n < o; n++) {
        var r = e[n],
          i = r.indexOf("="),
          s = r.substring(0, i),
          u = r.substring(i + 1);
        a[s] = p.tryToDecodeURIComponent(u);
      }
      return a;
    }
    function r(t) {
      if ("function" != typeof t) throw new TypeError(t + " is not a function");
      return t;
    }
    function i(t) {
      var e,
        n,
        o,
        a = [],
        r = t.length;
      for (o = 0; o < r; o++)
        (e = t[o][0]),
          (n = t[o][1]),
          a.push(l.isStartWith(e, v) ? n : e + "=" + encodeURIComponent(n));
      return a.join("&");
    }
    function s(t) {
      var e,
        n,
        o,
        a = {},
        r = t.length;
      for (o = 0; o < r; o++) (e = t[o][0]), (n = t[o][1]), (a[e] = n);
      return a;
    }
    function u(t, e) {
      var n,
        o,
        a,
        r = [];
      for (n in t)
        t.hasOwnProperty(n) &&
          ((o = "" + t[n]),
          (a = n + "=" + encodeURIComponent(o)),
          e ? r.push(a) : r.push(l.isStartWith(n, v) ? o : a));
      return r.join("&");
    }
    function c(t, e) {
      var n = t.indexOf("?") == -1 ? "?" : "&",
        o = e ? (l.isArray(e) ? i(e) : u(e)) : "";
      return o ? t + n + o : t;
    }
    var l = n(9),
      p = n(19),
      g = n(22),
      f = parent !== self;
    (e.is_in_iframe = f),
      (e.makeCacheNum = l.makeCacheNum),
      (e.isStartWith = l.isStartWith),
      (e.isEndWith = l.isEndWith),
      (e.any = l.any),
      (e.each = l.each),
      (e.assign = l.assign),
      (e.isFunction = l.isFunction),
      (e.isArray = l.isArray),
      (e.isString = l.isString),
      (e.isNumber = l.isNumber),
      (e.isUnDefined = l.isUnDefined),
      (e.isContain = l.isContain),
      (e.sleep = n(23).sleep),
      (e.makeChkSum = o),
      (e.tryToDecodeURIComponent = p.tryToDecodeURIComponent),
      (e.nodeListToArray = p.nodeListToArray),
      (e.parseSemicolonContent = p.parseSemicolonContent),
      (e.param2obj = a);
    var d = n(24),
      _ = function (t) {
        return /^(\/\/){0,1}(\w+\.){1,}\w+((\/\w+){1,})?$/.test(t);
      };
    e.hostValidity = _;
    var h = function (t, e) {
        var n = /^(\/\/){0,1}(\w+\.){1,}\w+\/\w+\.gif$/.test(t),
          o = _(t),
          a = "";
        return (
          n ? (a = "isGifPath") : o && (a = "isHostPath"),
          a ||
            d.logger({
              msg: e + ": " + t + ' is invalid, suggestion: "xxx.mmstat.com"',
            }),
          a
        );
      },
      m = function (t) {
        return (
          !/^\/\/gj\.mmstat/.test(t) &&
            goldlog.isInternational() &&
            (t = t.replace(/^\/\/\w+\.mmstat/, "//gj.mmstat")),
          t
        );
      };
    (e.filterIntUrl = m),
      (e.getPvUrl = function (t) {
        t || (t = {});
        var e,
          n,
          o = t.metaValue && h(t.metaValue, t.metaName),
          a = "";
        "isGifPath" === o
          ? ((e = /^\/\//.test(t.metaValue) ? "" : "//"), (a = e + t.metaValue))
          : "isHostPath" === o &&
            ((e = /^\/\//.test(t.metaValue) ? "" : "//"),
            (n = /\/$/.test(t.metaValue) ? "" : "/"),
            (a = e + t.metaValue + n + t.gifPath));
        var r;
        return (
          a
            ? (r = a)
            : ((e = 0 === t.gifPath.indexOf("/") ? t.gifPath : "/" + t.gifPath),
              (r = t.url && t.url.replace(/\/\w+\.gif/, e))),
          r
        );
      }),
      (e.indexof = n(12).indexof),
      (e.callable = r);
    var v = "::-plain-::";
    (e.mkPlainKey = function () {
      return v + Math.random();
    }),
      (e.s_plain_obj = v),
      (e.mkPlainKeyForExparams = function (t) {
        var e = t || v;
        return e + "exparams";
      }),
      (e.rndInt32 = function () {
        return Math.round(2147483647 * Math.random());
      }),
      (e.arr2param = i),
      (e.arr2obj = s),
      (e.obj2param = u),
      (e.makeUrl = c),
      (e.ifAdd = function (t, e) {
        var n,
          o,
          a,
          r,
          i = e.length;
        for (n = 0; n < i; n++)
          (o = e[n]), (a = o[0]), (r = o[1]), r && t.push([a, r]);
      }),
      (e.isStartWithProtocol = g.isStartWithProtocol),
      (e.param2arr = function (t) {
        for (var e, n = t.split("&"), o = 0, a = n.length, r = []; o < a; o++)
          (e = n[o].split("=")), r.push([e.shift(), e.join("=")]);
        return r;
      }),
      (e.catchException = function (t, e, n) {
        var o = window,
          a = o.goldlog_queue || (o.goldlog_queue = []),
          r = t;
        "object" == typeof e && e.message && (r = r + "_" + e.message),
          n && n.msg && (r += "_" + n.msg),
          a.push({
            action: "goldlog._aplus_cplugin_m.do_tracker_jserror",
            arguments: [{ message: r, error: JSON.stringify(e), filename: t }],
          });
      });
  },
  function (t, e, n) {
    "use strict";
    var o = n(20),
      a = n(21);
    t.exports = {
      tryToDecodeURIComponent: function (t, e) {
        var n = e || "";
        if (t)
          try {
            n = decodeURIComponent(t);
          } catch (t) {}
        return n;
      },
      parseSemicolonContent: function (t, e, n) {
        e = e || {};
        var a,
          r,
          i = t.split(";"),
          s = i.length;
        for (a = 0; a < s; a++) {
          r = i[a].split("=");
          var u = o.trim(r.slice(1).join("="));
          e[o.trim(r[0]) || ""] = n ? u : this.tryToDecodeURIComponent(u);
        }
        return e;
      },
      nodeListToArray: function (t) {
        var e, n;
        try {
          return (e = [].slice.call(t));
        } catch (a) {
          (e = []), (n = t.length);
          for (var o = 0; o < n; o++) e.push(t[o]);
          return e;
        }
      },
      getLsCna: function (t, e) {
        if (a.set && a.test()) {
          var n = "",
            o = a.get(t);
          if (o) {
            var r = o.split("_") || [];
            n = e
              ? r.length > 1 && e === r[0]
                ? r[1]
                : ""
              : r.length > 1
              ? r[1]
              : "";
          }
          return decodeURIComponent(n);
        }
        return "";
      },
      setLsCna: function (t, e, n) {
        n && a.set && a.test() && a.set(t, e + "_" + encodeURIComponent(n));
      },
      getUrl: function (t) {
        var e = t || "//log.mmstat.com/eg.js";
        try {
          var n = goldlog.getMetaInfo("aplus-rhost-v"),
            o = /[[a-z|0-9\.]+[a-z|0-9]/,
            a = n.match(o);
          a && a[0] && (e = e.replace(o, a[0]));
        } catch (t) {}
        return e;
      },
    };
  },
  function (t, e) {
    "use strict";
    function n(t) {
      return "string" == typeof t ? t.replace(/^\s+|\s+$/g, "") : "";
    }
    e.trim = n;
  },
  function (t, e) {
    "use strict";
    t.exports = {
      set: function (t, e) {
        try {
          return localStorage.setItem(t, e), !0;
        } catch (t) {
          return !1;
        }
      },
      get: function (t) {
        try {
          return localStorage.getItem(t);
        } catch (t) {
          return "";
        }
      },
      test: function () {
        var t = "grey_test_key";
        try {
          return localStorage.setItem(t, 1), localStorage.removeItem(t), !0;
        } catch (t) {
          return !1;
        }
      },
      remove: function (t) {
        localStorage.removeItem(t);
      },
    };
  },
  function (t, e, n) {
    "use strict";
    var o = n(9),
      a = function () {
        if (goldlog.aplusDebug) {
          var t = location.protocol;
          return "http:" !== t && "https:" !== t && (t = "https:"), t;
        }
        return "https:";
      };
    (e.getProtocal = a),
      (e.isStartWithProtocol = function (t) {
        for (
          var e = ["javascript:", "tel:", "sms:", "mailto:", "tmall://", "#"],
            n = 0,
            a = e.length;
          n < a;
          n++
        )
          if (o.isStartWith(t, e[n])) return !0;
        return !1;
      });
  },
  function (t, e) {
    "use strict";
    e.sleep = function (t, e) {
      return setTimeout(function () {
        e();
      }, t);
    };
  },
  function (t, e) {
    "use strict";
    var n = function () {
      var t = !1;
      return (
        "boolean" == typeof goldlog.aplusDebug && (t = goldlog.aplusDebug), t
      );
    };
    e.isDebugAplus = n;
    var o = function (t) {
      t || (t = {});
      var e = t.level || "warn";
      window.console && window.console[e] && window.console[e](t.msg);
    };
    e.logger = o;
  },
  function (t, e) {
    "use strict";
    var n = function (t) {
      var e;
      try {
        window.goldlog || (window.goldlog = {}), (e = window.goldlog[t]);
      } catch (t) {
        e = "";
      } finally {
        return e;
      }
    };
    e.getGoldlogVal = n;
    var o = function (t, e) {
      var n = !1;
      try {
        window.goldlog || (window.goldlog = {}),
          t && ((window.goldlog[t] = e), (n = !0));
      } catch (t) {
        n = !1;
      } finally {
        return n;
      }
    };
    (e.setGoldlogVal = o),
      (e.getClientInfo = function () {
        return n("_aplus_client") || {};
      });
  },
  function (t, e, n) {
    "use strict";
    function o(t) {
      var e,
        n,
        o,
        a = t.length,
        r = {};
      for (h._microscope_data = r, e = 0; e < a; e++)
        (n = t[e]),
          "microscope-data" === f.tryToGetAttribute(n, "name") &&
            ((o = f.tryToGetAttribute(n, "content")),
            l.parseSemicolonContent(o, r),
            (h.is_head_has_meta_microscope_data = !0));
      (h._microscope_data_params = l.obj2param(r)),
        (h.ms_data_page_id = r.pageId),
        (h.ms_data_shop_id = r.shopId),
        (h.ms_data_instance_id = r.siteInstanceId),
        (h.ms_data_siteCategoryId = r.siteCategory),
        (h.ms_prototype_id = r.prototypeId),
        (h.site_instance_id_or_shop_id =
          h.ms_data_instance_id || h.ms_data_shop_id),
        (h._atp_beacon_data = {}),
        (h._atp_beacon_data_params = "");
    }
    function a(t) {
      var e,
        n = function () {
          var e;
          return (
            document.querySelector &&
              (e = document.querySelector("meta[name=data-spm]")),
            g.each(t, function (t) {
              "data-spm" === f.tryToGetAttribute(t, "name") && (e = t);
            }),
            e
          );
        },
        o = n();
      return o && (e = f.tryToGetAttribute(o, "data-spm-protocol")), e;
    }
    function r(t) {
      var e = t.isonepage || "-1",
        n = e.split("|"),
        o = n[0],
        a = n[1] ? n[1] : "";
      (t.isonepage_data = { isonepage: o, urlpagename: a }),
        (t["aplus-pagename"] = a);
    }
    function i() {
      var t = d.getMetaTags();
      o(t),
        g.each(t, function (t) {
          var e = f.tryToGetAttribute(t, "name");
          if (/^aplus/.test(e) && ((h[e] = d.getMetaCnt(e)), e === v))
            try {
              c = h[e] = JSON.parse(d.getMetaCnt(e));
            } catch (t) {}
        }),
        g.each(m, function (t) {
          h[t] = d.getMetaCnt(t);
        }),
        (h.spm_protocol = a(t)),
        c && (h = g.assign(h, c));
      var e,
        n,
        i = ["aplus-rate-ahot"],
        s = i.length;
      for (e = 0; e < s; e++) (n = i[e]), (h[n] = parseFloat(h[n]));
      return r(h), (b = h || {}), h;
    }
    function s() {
      return b || i();
    }
    function u(t) {
      p.logger({ msg: "please do not repeat setPriorityMetaInfo " + t });
    }
    var c,
      l = n(18),
      p = n(24),
      g = n(9),
      f = n(27),
      d = n(28),
      _ = n(29),
      h = {},
      m = ["ahot-aplus", "isonepage", "spm-id", "data-spm", "microscope-data"],
      v = "aplus-x-settings",
      b = {};
    e.setMetaInfo = function (t, e) {
      if ((b || (b = {}), "object" == typeof c && c[t])) return u(t), !0;
      if (t === v) {
        if (c) u(t);
        else
          try {
            (c = "object" == typeof e ? e : JSON.parse(e)),
              (b = g.assign(b, c));
          } catch (t) {
            console && console.log(t);
          }
        return !0;
      }
      return (b[t] = e), !0;
    };
    var y = function (t) {
      return b || (b = {}), b[t] || "";
    };
    (e.getMetaInfo = y),
      (e.getInfo = i),
      (e.qGet = s),
      (e.appendMetaInfo = function (t, e) {
        var n = function (t, e) {
          goldlog.setMetaInfo(t, e, { from: "appendMetaInfo" });
        };
        if (t && e) {
          var o,
            a = function (o) {
              try {
                var a = "string" == typeof e ? JSON.parse(e) : e;
                n(t, g.assign(o, a));
              } catch (t) {}
            },
            r = function (o) {
              try {
                var a = "string" == typeof e ? JSON.parse(e) : e;
                n(t, o.concat(a));
              } catch (t) {}
            },
            i = function (t) {
              return "EXPARAMS" === t
                ? _.getExparamsInfos("", t)
                : t
                ? t.split("&")
                : [];
            },
            s = function (o) {
              try {
                var a = i(o),
                  r = i(e);
                n(t, a.concat(r).join("&"));
              } catch (t) {}
            },
            u = function (t) {
              t.constructor === Array ? r(t) : a(t);
            },
            c = goldlog.getMetaInfo(t);
          if (("aplus-exinfo" === t && (s(c), (o = !0)), c))
            if ("object" == typeof c) u(c), (o = !0);
            else
              try {
                var l = JSON.parse(c);
                "object" == typeof l && (u(l), (o = !0));
              } catch (t) {}
          o || n(t, e);
        }
      });
  },
  function (t, e) {
    "use strict";
    e.tryToGetAttribute = function (t, e) {
      return t && t.getAttribute ? t.getAttribute(e) || "" : "";
    };
    var n = function (t, e, n) {
      if (t && t.setAttribute)
        try {
          t.setAttribute(e, n);
        } catch (t) {}
    };
    (e.tryToSetAttribute = n),
      (e.tryToRemoveAttribute = function (t, e) {
        if (t && t.removeAttribute)
          try {
            t.removeAttribute(e);
          } catch (o) {
            n(t, e, "");
          }
      });
  },
  function (t, e, n) {
    "use strict";
    function o(t) {
      return (
        (i = i || document.getElementsByTagName("head")[0]),
        s && !t ? s : i ? (s = i.getElementsByTagName("meta")) : []
      );
    }
    function a(t, e) {
      var n,
        a,
        r,
        i = o(),
        s = i.length;
      for (n = 0; n < s; n++)
        (a = i[n]),
          u.tryToGetAttribute(a, "name") === t &&
            (r = u.tryToGetAttribute(a, e || "content"));
      return r || "";
    }
    function r(t) {
      var e = { isonepage: "-1", urlpagename: "" },
        n = t.qGet();
      if (n && n.hasOwnProperty("isonepage_data"))
        (e.isonepage = n.isonepage_data.isonepage),
          (e.urlpagename = n.isonepage_data.urlpagename);
      else {
        var o = a("isonepage") || "-1",
          r = o.split("|");
        (e.isonepage = r[0]), (e.urlpagename = r[1] ? r[1] : "");
      }
      return e;
    }
    var i,
      s,
      u = n(27);
    (e.getMetaTags = o), (e.getMetaCnt = a), (e.getOnePageInfo = r);
  },
  function (t, e, n) {
    "use strict";
    var o = n(18),
      a = n(30),
      r = n(12);
    e.getExparamsInfos = function (t, e) {
      var n = [],
        i = t || ["uidaplus", "pc_i", "pu_i"],
        s = a.getExParams(o) || "";
      s = s.replace(/&aplus&/, "&");
      for (
        var u = o.param2arr(s) || [],
          c = function (t) {
            return r.indexof(i, t) > -1;
          },
          l = 0;
        l < u.length;
        l++
      ) {
        var p = u[l],
          g = p[0] || "",
          f = p[1] || "";
        g && f && ("EXPARAMS" === e || c(g)) && n.push(g + "=" + f);
      }
      return n;
    };
  },
  function (t, e, n) {
    "use strict";
    function o() {
      return (
        s ||
          (s =
            g.getElementById("beacon-aplus") ||
            g.getElementById("tb-beacon-aplus")),
        s
      );
    }
    function a(t) {
      var e = o(),
        n = p.tryToGetAttribute(e, "cspx");
      t && n && (t.nonce = n);
    }
    function r(t, e, n) {
      var r = "script",
        s = g.createElement(r);
      (s.type = "text/javascript"), (s.async = !0);
      var c = o(),
        l = c && c.hasAttribute("crossorigin");
      l && (s.crossOrigin = "anonymous");
      var p = "https:" === location.protocol ? e || t : t;
      0 === p.indexOf("//") && (p = u.getProtocal() + p),
        (s.src = p),
        n && (s.id = n),
        a(s);
      var f = g.getElementsByTagName(r)[0];
      (i = i || g.getElementsByTagName("head")[0]),
        f ? f.parentNode.insertBefore(s, f) : i && i.appendChild(s);
    }
    var i,
      s,
      u = n(22),
      c = n(9),
      l = n(24),
      p = n(27),
      g = document;
    (e.getCurrentNode = o),
      (e.addScript = r),
      (e.loadScript = function (t, e) {
        function n(t) {
          (o.onreadystatechange = o.onload = o.onerror = null),
            (o = null),
            e(t);
        }
        var o = g.createElement("script");
        if (
          ((i = i || g.getElementsByTagName("head")[0]),
          (o.async = !0),
          "onload" in o)
        )
          o.onload = n;
        else {
          var r = function () {
            /loaded|complete/.test(o.readyState) && n();
          };
          (o.onreadystatechange = r), r();
        }
        (o.onerror = function (t) {
          n(t);
        }),
          (o.src = t),
          a(o),
          i.appendChild(o);
      }),
      (e.isTouch = function () {
        return "ontouchend" in document.createElement("div");
      });
    var f = function () {
      var t = goldlog && goldlog._$ ? goldlog._$ : {},
        e = t.meta_info || {};
      return e["aplus-exparams"] || "";
    };
    (e.getExParamsFromMeta = f),
      (e.getExParams = function (t) {
        var e = o(),
          n = p.tryToGetAttribute(e, "exparams"),
          a = d(n, f(), t) || "";
        return (
          a && a.replace(/&amp;/g, "&").replace(/\buser(i|I)d=/, "uidaplus=")
        );
      });
    var d = function (t, e, n) {
      var o = "aplus&sidx=aplusSidex",
        a = t || o;
      try {
        if (e) {
          var r = n.param2obj(e),
            i = [
              "aplus",
              "cna",
              "spm-cnt",
              "spm-url",
              "spm-pre",
              "logtype",
              "pre",
              "uidaplus",
              "asid",
              "sidx",
              "trid",
              "gokey",
            ];
          c.each(i, function (t) {
            r.hasOwnProperty(t) &&
              (l.logger({ msg: "Can not inject keywords: " + t }), delete r[t]);
          }),
            delete r[""];
          var s = "";
          if (t) {
            var u = t.match(/aplus&/).index,
              p = u > 0 ? n.param2obj(t.substring(0, u)) : {};
            delete p[""],
              (s =
                n.obj2param(c.assign(p, r)) + "&" + t.substring(u, t.length));
          } else s = n.obj2param(r) + "&" + o;
          return s;
        }
        return a;
      } catch (t) {
        return a;
      }
    };
    e.mergeExparams = d;
  },
  function (t, e, n) {
    "use strict";
    var o = n(32),
      a = n(3),
      r = n(11),
      i = n(30),
      s = n(19),
      u = n(33),
      c = n(34),
      l = n(25),
      p = n(4);
    t.exports = function () {
      return {
        init: function (t) {
          this.options = t;
          var e = this.options.context.etag || {};
          (this.cna = e.cna || r.getCookie("cna")),
            this.setTag(0),
            this.setStag(-1),
            this.setLsTag("-1"),
            this.setEtag(this.cna || ""),
            (this.requesting = !1),
            (this.today = u.getFormatDate());
        },
        setLsTag: function (t) {
          (this.lstag = t), (this.options.context.etag.lstag = t);
        },
        setTag: function (t) {
          (this.tag = t), (this.options.context.etag.tag = t);
        },
        setStag: function (t) {
          (this.stag = t), (this.options.context.etag.stag = t);
        },
        setEtag: function (t) {
          t &&
            ((this.etag = t),
            (this.options.context.etag.cna = t),
            r.getCookie("cna") !== t &&
              (o.publishCNA(t), r.setCookie("cna", t, { SameSite: "none" })));
        },
        setLscnaStatus: function (t) {
          this.options.context.etag.lscnastatus = t;
        },
        run: function (t, e) {
          var n = this;
          if (n.cna) return void n.setTag(1);
          var o = null,
            r = c.getUrl(this.options.context.etag || {});
          n.requesting = !0;
          var u = function () {
            setTimeout(function () {
              e();
            }, 20),
              clearTimeout(o);
          };
          return (
            i.loadScript(r, function (t) {
              var e, o;
              if (
                (t && "error" === t.type
                  ? (n.setStag(-3),
                    a.do_tracker_jserror({
                      message: "loadError",
                      error: "",
                      filename: "etag_ls",
                    }))
                  : ((e = l.getGoldlogVal("Etag")),
                    (o = l.getGoldlogVal("stag")),
                    "undefined" != typeof o && n.setStag(o)),
                !n.requesting)
              )
                return void n.setEtag(e);
              if (2 === o || 4 === o) {
                var r = s.getLsCna(p.LS_CNA_KEY);
                r
                  ? (n.setLsTag(1), n.setEtag(r))
                  : (n.setLsTag(0),
                    s.setLsCna(p.LS_CNA_KEY, n.today, e),
                    n.setEtag(e));
              } else n.setEtag(e);
              u();
            }),
            (o = setTimeout(function () {
              (n.requesting = !1), n.setStag(-2), e();
            }, 1500)),
            2e3
          );
        },
      };
    };
  },
  function (t, e) {
    "use strict";
    var n = "function",
      o = function () {
        var t = window.goldlog || {},
          e = t.aplus_pubsub || {},
          o = typeof e.publish === n;
        return o ? e : "";
      },
      a = function (t) {
        var e = o();
        e && typeof e.publish === n && e.publish.apply(e, t);
      };
    e.doPubMsg = a;
    var r = function (t) {
      var e = o();
      e && typeof e.cachePubs === n && e.cachePubs.apply(e, t);
    };
    (e.doCachePubs = r),
      (e.doSubMsg = function (t, e) {
        var a = o();
        a && typeof a.subscribe === n && a.subscribe(t, e);
      }),
      (e.doSubOnceMsg = function (t, e) {
        var a = o();
        a && typeof a.subscribeOnce === n && a.subscribeOnce(t, e);
      }),
      (e.publishCNA = function (t) {
        if (t) {
          var e = ["CNA", { value: t }];
          a(e), r(e);
        }
      });
  },
  function (t, e) {
    "use strict";
    function n(t, e, n) {
      var o = "" + Math.abs(t),
        a = e - o.length,
        r = t >= 0;
      return (
        (r ? (n ? "+" : "") : "-") +
        Math.pow(10, Math.max(0, a)).toString().substr(1) +
        o
      );
    }
    e.getFormatDate = function (t) {
      var e = new Date();
      try {
        return [
          e.getFullYear(),
          n(e.getMonth() + 1, 2, 0),
          n(e.getDate(), 2, 0),
        ].join(t || "");
      } catch (t) {
        return "";
      }
    };
  },
  function (t, e, n) {
    "use strict";
    var o = n(19);
    e.getUrl = function (t) {
      var e = new Date().getTime(),
        n = o.getUrl(t && t.egUrl ? t.egUrl : "gj.mmstat.com/eg.js"),
        a = n.match(/[\w+\.]+[a-z|A-Z|0-9]+\/(eg|ge).js/);
      return (
        0 !== n.indexOf("http") && a && a.length > 0 && (n = "//" + a[0]),
        n + "?t=" + e
      );
    };
  },
  function (t, e, n) {
    "use strict";
    var o = n(19),
      a = n(30),
      r = n(34),
      i = n(4),
      s = n(33),
      u = n(21);
    t.exports = function () {
      return {
        init: function (t) {
          (this.options = t), (this.today = s.getFormatDate());
        },
        run: function () {
          var t = this;
          if (u.test()) {
            var e = o.getLsCna(i.LS_CNA_KEY, t.today);
            e ||
              setTimeout(function () {
                var e = r.getUrl(t.options.context.etag || {});
                a.loadScript(e, function (e) {
                  e &&
                    "error" !== e.type &&
                    o.setLsCna(i.LS_CNA_KEY, t.today, goldlog.Etag);
                });
              }, 1e3);
          }
        },
      };
    };
  },
  function (t, e, n) {
    "use strict";
    e.plugins_pv = [
      { name: "etag", enable: !0, path: n(37) },
      { name: "when_to_sendpv", enable: !0, path: n(38) },
      { name: "where_to_sendlog_ut", enable: !0, path: n(39) },
      { name: "is_single", enable: !0, path: n(41) },
      { name: "what_to_pvhash", enable: !0, path: n(45) },
      { name: "what_to_sendpv", enable: !0, path: n(46) },
      {
        name: "what_to_sendpv_userdata",
        enable: !0,
        path: n(50),
        deps: ["what_to_sendpv"],
      },
      {
        name: "what_to_sendpv_etag",
        enable: !0,
        path: n(55),
        deps: ["etag", "what_to_sendpv"],
      },
      {
        name: "what_to_sendpv_ut2",
        enable: n(56),
        path: n(57),
        deps: ["where_to_sendlog_ut", "is_single"],
      },
      {
        name: "what_to_sendpv_ut",
        enable: !0,
        path: n(58),
        deps: ["where_to_sendlog_ut", "is_single"],
      },
      {
        name: "what_to_pv_slog",
        enable: !0,
        path: n(59),
        deps: ["what_to_sendpv"],
      },
      { name: "can_to_sendpv", enable: !0, path: n(60) },
      { name: "where_to_sendpv", enable: !0, path: n(17), deps: ["is_single"] },
      {
        name: "do_sendpv",
        enable: !0,
        path: n(61),
        deps: ["is_single", "what_to_sendpv", "where_to_sendpv"],
      },
      {
        name: "do_sendpv_ut2",
        enable: n(56),
        path: n(62),
        deps: ["what_to_sendpv_ut2", "where_to_sendlog_ut"],
      },
      {
        name: "do_sendpv_ut",
        enable: n(56),
        path: n(63),
        deps: ["what_to_sendpv_ut", "where_to_sendlog_ut"],
      },
      { name: "after_pv", enable: !0, path: n(64) },
    ];
  },
  function (t, e, n) {
    "use strict";
    var o = n(32);
    t.exports = function () {
      return {
        init: function (t) {
          this.options = t;
        },
        run: function () {
          var t = this;
          o.doSubOnceMsg("aplusInitContext", function (e) {
            e.etag && (t.options.context.etag = e.etag);
          });
        },
      };
    };
  },
  function (t, e, n) {
    "use strict";
    var o = n(25),
      a = n(23),
      r = n(26);
    t.exports = function () {
      return {
        init: function (t) {
          this.options = t;
        },
        getMetaInfo: function () {
          var t = o.getGoldlogVal("_$") || {},
            e = t.meta_info || r.getInfo();
          return e;
        },
        getAplusWaiting: function () {
          var t = this.getMetaInfo() || {};
          return t["aplus-waiting"];
        },
        run: function (t, e) {
          var n = this.options.config || {},
            o = this.getAplusWaiting();
          if (o && n.is_auto)
            switch (
              ((o = this.getAplusWaiting() + ""),
              (this.options.context.when_to_sendpv = { aplusWaiting: o }),
              o)
            ) {
              case "MAN":
                return "done";
              case "1":
                return (
                  (this.options.context.when_to_sendpv.isWait = !0),
                  a.sleep(6e3, function () {
                    e();
                  }),
                  6e3
                );
              default:
                var r = 1 * o;
                if (r + "" != "NaN")
                  return (
                    (this.options.context.when_to_sendpv.isWait = !0),
                    a.sleep(r, function () {
                      e();
                    }),
                    r
                  );
            }
        },
      };
    };
  },
  function (t, e, n) {
    "use strict";
    var o = n(40);
    t.exports = function () {
      return {
        init: function (t) {
          this.options = t;
        },
        getAplusToUT: function (t) {
          return {
            toUT2: o.getAplusToUT("toUT2", t),
            toUT: o.getAplusToUT("toUT", t),
          };
        },
        run: function () {
          if ("Umeng4Aplus" === goldlog.aplusBridgeName)
            this.options.context.where_to_sendlog_ut.toUTName = "toUT2";
          else {
            var t = this.getAplusToUT(this.options.config.recordType);
            this.options.context.where_to_sendlog_ut.aplusToUT = t;
          }
        },
      };
    };
  },
  function (t, e) {
    "use strict";
    var n = navigator.userAgent,
      o = /WindVane/i.test(n);
    e.is_WindVane = o;
    var a = function () {
      var t = goldlog.getMetaInfo("aplus_chnl");
      return (
        !(
          !t ||
          !t.isAvailable ||
          ("function" != typeof t.toUT2 && "function" != typeof t.toUT)
        ) && t
      );
    };
    (e.isAplusChnl = a),
      (e.getAplusToUT = function (t, e) {
        var n = {},
          r = a();
        if ("object" == typeof r)
          (n.bridgeName = r.bridgeName || "customBridge"),
            (n.bridgeVersion = r.bridgeVersion || r.version || ""),
            (n.isAvailable = r.isAvailable),
            (n.toUT2 = r.toUT2 || r.toUT);
        else {
          var i = window.WindVane || {};
          if (o && i && i.isAvailable && "function" == typeof i.call) {
            var s = t || "toUT",
              u = goldlog.getMetaInfo("aplus-toUT") + "";
            "toUT2HC" === u && "PV" === e && (s = u),
              (n = {
                bridgeName: "WindVane",
                bridgeVersion: i.version || "",
                isAvailable: !0,
                toUT2: function (t, e, n, o) {
                  return i.call("WVTBUserTrack", s, t, e, n, o);
                },
              });
          }
        }
        return n;
      });
  },
  function (t, e, n) {
    "use strict";
    var o = n(25),
      a = n(42),
      r = n(43),
      i = n(4);
    t.exports = function () {
      return {
        init: function (t) {
          (this.options = t),
            (this._$ = o.getGoldlogVal("_$") || {}),
            (this.isBoth = "1" === this._$.meta_info["aplus-both-request"]),
            (this.is_WindVane = this._$.is_WindVane);
        },
        isSingle_pv: function (t) {
          return t
            ? !this.isBoth
            : !(!this.is_WindVane || !r.isSingleUaVersion() || this.isBoth);
        },
        isSingle_hjlj: function (t, e) {
          return e
            ? !this.isBoth
            : !(!this.is_WindVane || !r.isSingleSendLog(t) || this.isBoth);
        },
        isSingle_uhjlj: function (t, e) {
          return (
            (!t || !/^\/aplus\.99\.(\d)+$/.test(t.logkey)) &&
            (e
              ? !this.isBoth
              : !(
                  !(
                    this.is_WindVane &&
                    t &&
                    t.logkey &&
                    r.isSingleUaVersion()
                  ) || this.isBoth
                ))
          );
        },
        run: function () {
          var t = this.options.context || {},
            e = this.options.config || {},
            n = t.where_to_sendlog_ut.aplusToUT || {},
            o = n.toUT || {},
            r = n.toUT2 || {},
            s = a.isNative4Aplus(),
            u = !!(o.isAvailable || r.isAvailable || s),
            c = t.userdata || {},
            l = !!t.is_single;
          switch (e.recordType) {
            case i.recordTypes.uhjlj:
              l = this.isSingle_uhjlj(c, s);
              break;
            case i.recordTypes.hjlj:
              l = this.isSingle_hjlj(c, s);
              break;
            case i.recordTypes.pv:
              l = this.isSingle_pv(s);
              break;
            default:
              l = this.isSingle_pv(s);
          }
          (this.options.context.is_single = u && l),
            (this.options.context.ut_is_available = u);
        },
      };
    };
  },
  function (t, e) {
    "use strict";
    var n = "UT4Aplus",
      o = "Umeng4Aplus";
    (e.isNative4Aplus = function () {
      var t = goldlog.getMetaInfo("aplus-toUT"),
        e = goldlog.aplusBridgeName;
      return (e === n && t === n) || e === o;
    }),
      (e.haveNativeFlagInUA = function () {
        var t = goldlog.aplusBridgeName;
        if (!t && "boolean" != typeof t) {
          var e = new RegExp([n, o].join("|"), "i"),
            a = navigator.userAgent.match(e);
          (t = !!a && a[0]), (goldlog.aplusBridgeName = t);
        }
        return !!t;
      });
  },
  function (t, e, n) {
    "use strict";
    var o = n(44),
      a = n(42),
      r = function (t) {
        var e = t.logkey.toLowerCase();
        0 === e.indexOf("/") && (e = e.substr(1));
        var n = t.gmkey ? t.gmkey.toUpperCase() : "OTHER";
        switch (n) {
          case "EXP":
            return "2201";
          case "CLK":
            return "2101";
          case "SLD":
            return "19999";
          case "OTHER":
          default:
            return "19999";
        }
      },
      i = /\sA2U\/x/.test(window.navigator.userAgent),
      s = function () {
        var t = window.navigator.userAgent,
          e = !1,
          n = /AliApp\((DM|DY|DingTalk|CN|LA)\/(\d+[._]\d+[._]\d+)/i,
          r = n.test(t);
        return (
          (e = r),
          i ||
            a.haveNativeFlagInUA() ||
            e ||
            o.webviewIsAbove({
              version_ios_tb: [5, 11, 7],
              version_ios_tm: [5, 24, 1],
              version_android_tb: [5, 11, 7],
              version_android_tm: [5, 24, 1],
            })
        );
      };
    (e.isSingleUaVersion = s),
      (e.isSingleSendLog = function (t) {
        return (
          (!t || !/^\/fsp\.1\.1$/.test(t.logkey)) && !!(t && t.logkey && s())
        );
      }),
      (e.getFunctypeValue = function (t) {
        return e.isSingleSendLog(t) ? r(t) : "2101";
      }),
      (e.getFunctypeValue2 = function (t) {
        return r(t);
      });
  },
  function (t, e) {
    "use strict";
    var n = function (t) {
      var e = [0, 0, 0];
      try {
        if (t) {
          var n = t[1],
            o = n.split(".");
          if (o.length > 2)
            for (var a = 0; a < o.length; ) (e[a] = parseInt(o[a])), a++;
        }
      } catch (t) {
        e = [0, 0, 0];
      } finally {
        return e;
      }
    };
    e.parseVersion = n;
    var o = function (t, e) {
      var n = !1;
      try {
        var o = t[0] > e[0],
          a = t[1] > e[1],
          r = t[2] > e[2],
          i = t[0] === e[0],
          s = t[1] === e[1],
          u = t[2] === e[2];
        n = !!o || !(!i || !a) || !!(i && s && r) || !!(i && s && u);
      } catch (t) {
        n = !1;
      } finally {
        return n;
      }
    };
    (e.isAboveVersion = o),
      (e.webviewIsAbove = function (t, e) {
        var a = !1;
        try {
          e || (e = navigator.userAgent);
          var r = e.match(/AliApp\(TB\/(\d+[._]\d+[._]\d+)/i),
            i = n(r),
            s = e.match(/AliApp\(TM\/(\d+[._]\d+[._]\d+)/i),
            u = n(s),
            c = /iPhone|iPad|iPod|ios/i.test(e),
            l = /android/i.test(e);
          c
            ? r && i
              ? (a = o(i, t.version_ios_tb))
              : s && u && (a = o(u, t.version_ios_tm))
            : l &&
              (r && i
                ? (a = o(i, t.version_android_tb))
                : s && u && (a = o(u, t.version_android_tm)));
        } catch (t) {
          a = !1;
        }
        return a;
      }),
      (e.webviewIsEqual = function (t, e) {
        var n = !1;
        try {
          e || (e = navigator.userAgent);
          var o = e.match(/AliApp\(CN\/(\d+[._]\d+[._]\d+)/i),
            a = o ? o[1] : "0.0.0",
            r = e.match(/AliApp\(DingTalk\/(\d+[._]\d+[._]\d+)/i),
            i = r ? r[1] : "0.0.0",
            s = /iPhone|iPad|iPod|ios/i.test(e),
            u = /android/i.test(e);
          s
            ? o && a
              ? (n = t.version_ios_cn === a)
              : r && i && (n = t.version_ios_dd === i)
            : u &&
              (o && a
                ? (n = t.version_android_cn === a)
                : r && i && (n = t.version_android_dd === i));
        } catch (t) {
          n = !1;
        }
        return n;
      }),
      (e.webviewIsBelow = function (t, e) {
        var a = !1;
        try {
          e || (e = navigator.userAgent);
          var r = e.match(/AliApp\(CN\/(\d+[._]\d+[._]\d+)/i),
            i = n(r),
            s = /iPhone|iPad|iPod|ios/i.test(e),
            u = /android/i.test(e);
          s
            ? r && i && (a = !o(i, t.version_ios_cn))
            : u && r && i && (a = !o(i, t.version_android_cn));
        } catch (t) {
          a = !1;
        }
        return a;
      });
  },
  function (t, e, n) {
    "use strict";
    var o = n(25);
    t.exports = function () {
      return {
        init: function (t) {
          this.options = t;
        },
        run: function () {
          var t = this.options.context.what_to_pvhash || {},
            e = o.getGoldlogVal("_$") || {},
            n = e.meta_info || {},
            a = n["aplus-pvhash"] || "",
            r = [];
          "1" === a && (r = ["_aqx_uri", encodeURIComponent(location.href)]),
            (t.hash = r),
            (this.options.context.what_to_pvhash = t);
        },
      };
    };
  },
  function (t, e, n) {
    "use strict";
    var o = n(18),
      a = n(9),
      r = n(30),
      i = n(25),
      s = n(27),
      u = n(11),
      c = n(47),
      l = n(48),
      p = n(49);
    t.exports = function () {
      return a.assign(p, {
        init: function (t) {
          (this.options = t),
            this.cookie_data || (this.cookie_data = u.getData()),
            this.client_info || (this.client_info = i.getClientInfo() || {});
          var e = location.hash;
          e && 0 === e.indexOf("#") && (e = e.substr(1)), (this.loc_hash = e);
        },
        getExParams: function () {
          var t = window,
            e = document,
            n = [],
            u = parent !== t.self,
            l =
              e.getElementById("beacon-aplus") ||
              e.getElementById("tb-beacon-aplus"),
            p = s.tryToGetAttribute(l, "exparams"),
            g = r.mergeExparams(p, r.getExParamsFromMeta(), o) || "";
          g = g.replace(/&amp;/g, "&");
          var f,
            d,
            _ = [
              "taobao.com",
              "tmall.com",
              "etao.com",
              "hitao.com",
              "taohua.com",
              "juhuasuan.com",
              "alimama.com",
            ],
            h = i.getGoldlogVal("_$") || {},
            m = h.meta_info || {};
          if (u && !m["aplus-ifr-pv"]) {
            for (d = _.length, f = 0; f < d; f++)
              if (o.isContain(location.hostname, _[f]))
                return n.push([o.mkPlainKeyForExparams(), g]), n;
            g = g.replace(/\buser(i|I)d=\w*&?/, "");
          }
          (g = g.replace(/\buser(i|I)d=/, "uidaplus=")),
            g && n.push([o.mkPlainKeyForExparams(), g]);
          var v = a.makeCacheNum();
          return c.updateKey(n, "cache", v), n;
        },
        getExtra: function () {
          var t = [],
            e = i.getGoldlogVal("_$") || {},
            n = e.meta_info || {},
            a = this.cookie_data || {},
            r = this.getClientInfo(!0) || [];
          return (
            o.ifAdd(t, r),
            o.ifAdd(t, [
              ["thw", a.thw],
              ["bucket_id", l.getBucketId(n)],
              ["urlokey", this.loc_hash],
              ["wm_instanceid", n.ms_data_instance_id],
            ]),
            t
          );
        },
      });
    };
  },
  function (t, e) {
    "use strict";
    function n(t, e, n) {
      r(t, "spm-cnt", function (t) {
        var o = t.split(".");
        return (
          (o[0] = goldlog.spm_ab[0]),
          (o[1] = goldlog.spm_ab[1]),
          e
            ? (o[1] = o[1].split("/")[0] + "/" + e)
            : (o[1] = o[1].split("/")[0]),
          n && (o[4] = n),
          o.join(".")
        );
      });
    }
    function o(t, e) {
      var n = window.g_SPM && g_SPM._current_spm;
      n &&
        r(
          t,
          "spm-url",
          function () {
            return [n.a, n.b, n.c, n.d].join(".") + (e ? "." + e : "");
          },
          "spm-cnt"
        );
    }
    function a(t, e) {
      var n,
        o,
        a,
        r = -1;
      for (n = 0, o = t.length; n < o; n++)
        if (((a = t[n]), a[0] === e)) {
          r = n;
          break;
        }
      r >= 0 && t.splice(r, 1);
    }
    function r(t, e, n, o) {
      var a,
        r,
        i = t.length,
        s = -1,
        u = "function" == typeof n;
      for (a = 0; a < i; a++) {
        if (((r = t[a]), r[0] === e))
          return void (u ? (r[1] = n(r[1])) : (r[1] = n));
        o && r[0] === o && (s = a);
      }
      o && (u && (n = n()), s > -1 ? t.splice(s, 0, [e, n]) : t.push([e, n]));
    }
    t.exports = {
      updateSPMCnt: n,
      updateSPMUrl: o,
      updateKey: r,
      removeKey: a,
    };
  },
  function (t, e, n) {
    "use strict";
    function o(t, e) {
      var n,
        o = 2146271213;
      for (n = 0; n < t.length; n++) o = (o << 5) + o + t.charCodeAt(n);
      return (65535 & o) % e;
    }
    function a(t) {
      var e,
        n = r.getCookie("t");
      return (
        ("3" != t.ms_prototype_id && "5" != t.ms_prototype_id) ||
          (e = n ? o(n, 20) : ""),
        e
      );
    }
    var r = n(11);
    e.getBucketId = a;
  },
  function (t, e, n) {
    "use strict";
    var o = n(18),
      a = n(9),
      r = n(25),
      i = n(40),
      s = n(11),
      u = n(4);
    t.exports = {
      init: function (t) {
        (this.options = t),
          this.cookie_data || (this.cookie_data = s.getData());
      },
      getBasicParams: function () {
        var t = document,
          e = r.getGoldlogVal("_$") || {},
          n = e.spm || {},
          a = e.meta_info || {},
          i = a["aplus-ifr-pv"] + "" == "1",
          u = o.is_in_iframe && !i ? 0 : 1,
          c = this.options.config || {},
          l = t.title;
        c.title && (l += "_" + c.title);
        var p = [
          ["logtype", u],
          ["title", l],
          ["pre", e.page_referrer || ""],
          ["scr", screen.width + "x" + screen.height],
        ];
        try {
          var g = location.href.substring(0, 1200);
          g && p.push(["_p_url", a["aplus-p-url"] || g]);
        } catch (t) {}
        var f = this.cookie_data || {},
          d = this.options.context || {},
          _ = d.etag || {},
          h = _.cna || f.cna || s.getCookie("cna");
        h && p.push([o.mkPlainKey(), "cna=" + h]),
          f.tracknick && p.push([o.mkPlainKey(), "nick=" + f.tracknick]);
        var m = n.spm_url || "";
        return (
          o.ifAdd(p, [
            ["wm_pageid", a.ms_data_page_id],
            ["wm_prototypeid", a.ms_prototype_id],
            ["wm_sid", a.ms_data_shop_id],
            ["spm-url", m],
            ["spm-pre", n.spm_pre],
            ["spm-cnt", n.spm_cnt],
            ["cnaui", f.cnaui],
          ]),
          p
        );
      },
      getExParams: function () {
        return [];
      },
      getExtra: function () {
        return [];
      },
      getClientInfo: function (t) {
        var e = [],
          n = r.getGoldlogVal("_$") || {},
          s = this.client_info || {},
          c = s.ua_info || {};
        if (t || (!i.is_WindVane && !i.isAplusChnl())) {
          for (
            var l, p = [], g = ["p", "o", "b", "s", "w", "wx", "ism"], f = 0;
            (l = g[f++]);

          )
            c[l] && p.push([l, c[l]]);
          o.ifAdd(e, p);
        }
        o.ifAdd(e, [
          ["cache", a.makeCacheNum()],
          ["lver", goldlog.lver || u.lver],
          ["jsver", n.script_name || u.script_name],
          ["pver", goldlog.aplus_cplugin_ver],
        ]);
        var d = this.options.config || {},
          _ = d.is_auto;
        return _ || o.ifAdd(e, [["mansndlog", 1]]), e;
      },
      processLodashDollar: function () {
        var t = r.getGoldlogVal("_$") || {};
        t.page_url !== location.href &&
          ((t.page_referrer = t.page_url), (t.page_url = location.href)),
          r.setGoldlogVal("_$", t);
      },
      getLsParams: function () {
        var t = r.getGoldlogVal("_$") || {},
          e = [];
        return (
          t.lsparams &&
            t.lsparams.spm_id &&
            (e.push(["lsparams", t.lsparams.spm_id]),
            e.push(["lsparams_pre", t.lsparams.current_url])),
          e
        );
      },
      run: function () {
        var t = this.getBasicParams() || [],
          e = this.getExParams() || [],
          n = this.getExtra() || [];
        this.processLodashDollar();
        var o = this.getLsParams() || [],
          a = [].concat(t, e, n, o);
        (this.options.context.what_to_sendpv.pvdata = a),
          (this.options.context.what_to_sendpv.exparams = e);
      },
    };
  },
  function (t, e, n) {
    "use strict";
    var o = n(18),
      a = n(25),
      r = n(47),
      i = n(11),
      s = n(51);
    t.exports = function () {
      return {
        init: function (t) {
          this.options = t;
        },
        getPageId: function () {
          var t = this.options.config || {},
            e = this.options.context || {},
            n = e.userdata || {};
          return t.page_id || t.pageid || t.pageId || n.page_id;
        },
        getPageInfo: function () {
          var t;
          try {
            var e = top.location !== self.location;
            e &&
              void 0 !== window.innerWidth &&
              (t = { width: window.innerWidth, height: window.innerHeight });
          } catch (t) {}
          return t;
        },
        getUserdata: function () {
          var t = a.getGoldlogVal("_$") || {},
            e = t.spm || {},
            n = this.options.context || {},
            r = n.userdata || {},
            u = this.options.config || {},
            c = [];
          if (u && !u.is_auto) {
            u.gokey && c.push([o.mkPlainKey(), u.gokey]);
            var l = e.data.b;
            if (l) {
              var p = this.getPageId();
              (l = p ? l.split("/")[0] + "/" + p : l.split("/")[0]), s.setB(l);
              var g = e.spm_cnt.split(".");
              g && g.length > 2 && ((g[1] = l), (e.spm_cnt = g.join(".")));
            }
          }
          var f = function (t) {
            if ("object" == typeof t)
              for (var e in t)
                "object" != typeof t[e] &&
                  "function" != typeof t[e] &&
                  c.push([e, t[e]]);
          };
          f(goldlog.getMetaInfo("aplus-cpvdata")), f(r);
          var d = i.getCookie("workno") || i.getCookie("emplId");
          d && c.push(["workno", d]);
          var _ = i.getHng();
          _ && c.push(["_hng", i.getHng()]);
          var h = this.getPageInfo();
          return h && (c.push(["_pw", h.width]), c.push(["_ph", h.height])), c;
        },
        processLodashDollar: function () {
          var t = this.options.config || {},
            e = a.getGoldlogVal("_$") || {};
          t && t.referrer && (e.page_referrer = t.referrer),
            a.setGoldlogVal("_$", e);
        },
        updatePre: function (t) {
          var e = a.getGoldlogVal("_$") || {};
          return e.page_referrer && r.updateKey(t, "pre", e.page_referrer), t;
        },
        run: function () {
          var t = this.options.context.what_to_sendpv.pvdata,
            e = this.getUserdata();
          this.processLodashDollar();
          var n = t,
            o = this.options.context.what_to_pvhash.hash;
          o && o.length > 0 && n.push(o),
            (n = n.concat(e)),
            (n = this.updatePre(n));
          var a = this.getPageId();
          a && r.updateSPMCnt(n, a),
            (this.options.context.what_to_sendpv.pvdata = n),
            (this.options.context.userdata = e);
        },
      };
    };
  },
  function (t, e, n) {
    "use strict";
    function o() {
      if (!s.data.a || !s.data.b) {
        var t = r._SPM_a,
          e = r._SPM_b;
        if (t && e)
          return (
            (t = t.replace(/^{(\w+\/)}$/g, "$1")),
            (e = e.replace(/^{(\w+\/)}$/g, "$1")),
            (s.is_wh_in_page = !0),
            void c.setAB(t, e)
          );
        var n = goldlog._$.meta_info;
        t = n["data-spm"] || n["spm-id"] || "0";
        var o = t.split(".");
        o.length > 1 && ((t = o[0]), (e = o[1])), c.setA(t), e && c.setB(e);
        var a = i.getElementsByTagName("body");
        (a = a && a.length ? a[0] : null),
          a &&
            ((e = l.tryToGetAttribute(a, "data-spm")),
            e ? c.setB(e) : 1 === o.length && c.setAB("0", "0"));
      }
    }
    function a() {
      var t = s.data.a,
        e = s.data.b;
      t && e && (goldlog.spm_ab = [t, e]);
    }
    var r = window,
      i = document,
      s = {},
      u = {};
    s.data = u;
    var c = {},
      l = n(27),
      p = n(52),
      g = location.href,
      f = n(53).getRefer(),
      d = n(4);
    (c.setA = function (t) {
      (s.data.a = t), a();
    }),
      (c.setB = function (t) {
        (s.data.b = t), a();
      }),
      (c.setAB = function (t, e) {
        (s.data.a = t), (s.data.b = e), a();
      });
    var _ = p.getSPMFromUrl,
      h = function () {
        var t = d.utilPvid.makePVId();
        return d.mustSpmE ? t || goldlog.pvid || "" : t || "";
      },
      m = function (t, e) {
        var n = t.goldlog || window.goldlog || {},
          a = n.meta_info || {};
        s.meta_protocol = a.spm_protocol;
        var r,
          i = n.spm_ab || [],
          u = i[0] || "0",
          c = i[1] || "0";
        "0" === u &&
          "0" === c &&
          (o(), (u = s.data.a || "0"), (c = s.data.b || "0")),
          (r = [s.data.a, s.data.b].join(".")),
          (s.spm_cnt = (r || "0.0") + ".0.0");
        var l = t.send_pv_count > 0 ? h() : n.pvid;
        l && (s.spm_cnt += "." + l),
          (n._$.spm = s),
          "function" == typeof e && e(l);
      };
    (c.spaInit = function (t, e, n, o) {
      var a = "function" == typeof o ? o : function () {},
        r = s.spm_url,
        i = window.g_SPM || {},
        u = t._$ || {},
        c = u.send_pv_count;
      m({ goldlog: t, meta_info: e, send_pv_count: c }, function (t) {
        s.spm_cnt = s.data.a + "." + s.data.b + ".0.0" + (t ? "." + t : "");
        var o = e["aplus-spm-fixed"];
        if ("1" !== o) {
          (s.spm_pre = _(f)),
            (s.origin_spm_pre = s.spm_pre),
            (s.spm_url = _(location.href)),
            (s.origin_spm_url = s.spm_url);
          var u = i._current_spm || {};
          u && u.a && "0" !== u.a && u.b && "0" !== u.b
            ? ((s.spm_url = [u.a, u.b, u.c, u.d, u.e].join(".")),
              (s.spm_pre = r))
            : c > 0 &&
              n &&
              "0" !== n[0] &&
              "0" !== n[1] &&
              ((s.spm_url = n.concat(["0", "0"]).join(".")), (s.spm_pre = r)),
            (i._current_spm = {});
        }
        a();
      });
    }),
      (c.init = function (t, e, n) {
        (s.spm_url = _(g)),
          (s.spm_pre = _(f)),
          m({ goldlog: t, meta_info: e }, function () {
            "function" == typeof n && n();
          });
      }),
      (c.resetSpmCntPvid = function () {
        var t = goldlog.spm_ab;
        if (t && 2 === t.length) {
          var e = t.join(".") + ".0.0",
            n = h();
          n && (e = e + "." + n),
            (s.spm_cnt = e),
            (s.spm_url = e),
            (goldlog._$.spm = s);
        }
      }),
      (t.exports = c);
  },
  function (t, e) {
    "use strict";
    function n(t, e) {
      if (!t || !e) return "";
      var n,
        o = "";
      try {
        var a = new RegExp("[?|&]+" + t + "=([^&|#|?|/]+)");
        if ("spm" === t || "scm" === t) {
          var r = new RegExp("\\?.*" + t + "=([\\w\\.\\-\\*/]+)"),
            i = e.match(a),
            s = e.match(r),
            u = i && 2 === i.length ? i[1] : "",
            c = s && 2 === s.length ? s[1] : "";
          (o = u > c ? u : c), (o = decodeURIComponent(o));
        } else (n = e.match(a)), (o = n && 2 === n.length ? n[1] : "");
      } catch (t) {
      } finally {
        return o;
      }
    }
    (e.getParamFromUrl = n),
      (e.getSPMFromUrl = function (t) {
        return n("spm", t);
      });
  },
  function (t, e, n) {
    "use strict";
    var o = n(54).nameStorage,
      a = n(5);
    e.getRefer = function () {
      var t = a.KEY || {},
        e = t.NAME_STORAGE || {};
      return document.referrer || o.getItem(e.REFERRER) || "";
    };
  },
  function (t, e) {
    "use strict";
    var n = (function () {
      function t() {
        var t,
          e = [],
          r = !0;
        for (var l in p)
          p.hasOwnProperty(l) &&
            ((r = !1), (t = p[l] || ""), e.push(c(l) + s + c(t)));
        n.name = r ? o : a + c(o) + i + e.join(u);
      }
      function e(t, e, n) {
        t &&
          (t.addEventListener
            ? t.addEventListener(e, n, !1)
            : t.attachEvent &&
              t.attachEvent("on" + e, function (e) {
                n.call(t, e);
              }));
      }
      var n = window;
      if (n.nameStorage) return n.nameStorage;
      var o,
        a = "nameStorage:",
        r = /^([^=]+)(?:=(.*))?$/,
        i = "?",
        s = "=",
        u = "&",
        c = encodeURIComponent,
        l = decodeURIComponent,
        p = {},
        g = {};
      return (
        (function (t) {
          if (t && 0 === t.indexOf(a)) {
            var e = t.split(/[:?]/);
            e.shift(), (o = l(e.shift()) || "");
            for (
              var n, i, s, c = e.join(""), g = c.split(u), f = 0, d = g.length;
              f < d;
              f++
            )
              (n = g[f].match(r)),
                n && n[1] && ((i = l(n[1])), (s = l(n[2]) || ""), (p[i] = s));
          } else o = t || "";
        })(n.name),
        (g.setItem = function (e, n) {
          e && "undefined" != typeof n && ((p[e] = String(n)), t());
        }),
        (g.getItem = function (t) {
          return p.hasOwnProperty(t) ? p[t] : null;
        }),
        (g.removeItem = function (e) {
          p.hasOwnProperty(e) && ((p[e] = null), delete p[e], t());
        }),
        (g.clear = function () {
          (p = {}), t();
        }),
        (g.valueOf = function () {
          return p;
        }),
        (g.toString = function () {
          var t = n.name;
          return 0 === t.indexOf(a) ? t : a + t;
        }),
        e(n, "beforeunload", function () {
          t();
        }),
        g
      );
    })();
    e.nameStorage = n;
  },
  function (t, e, n) {
    "use strict";
    var o = n(47);
    t.exports = function () {
      return {
        init: function (t) {
          this.options = t;
        },
        updateBasicParams: function () {
          var t = this.options.context.what_to_sendpv.pvdata || [],
            e = this.options.context.etag || {};
          return (
            e.cna &&
              (o.updateKey(t, "cna", e.cna),
              (this.options.context.what_to_sendpv.pvdata = t)),
            t
          );
        },
        addTagParams: function () {
          var t = this.options.context.what_to_sendpv.pvdata || [],
            e = this.options.context.etag || {},
            n = [];
          (e.tag || 0 === e.tag) && n.push(["tag", e.tag]),
            (e.stag || 0 === e.stag) && n.push(["stag", e.stag]),
            (e.lstag || 0 === e.lstag) && n.push(["lstag", e.lstag]),
            n.length > 0 &&
              (this.options.context.what_to_sendpv.pvdata = t.concat(n));
        },
        run: function () {
          this.updateBasicParams(), this.addTagParams();
        },
      };
    };
  },
  function (t, e, n) {
    "use strict";
    var o = n(44),
      a = n(40),
      r = n(42),
      i = /\sA2U\/x/.test(window.navigator.userAgent),
      s = function (t) {
        t || (t = window.navigator.userAgent);
        var e = goldlog.getMetaInfo("aplus-toUT") + "",
          n = a.isAplusChnl(),
          s = /AliApp\((DM|DY|DingTalk|CN|LA)\/(\d+[._]\d+[._]\d+)/i,
          u = s.test(t),
          c = o.webviewIsAbove(
            {
              version_ios_tb: [6, 6, 0],
              version_ios_tm: [5, 28, 0],
              version_android_tb: [6, 6, 2],
              version_android_tm: [5, 32, 0],
            },
            t
          );
        return (
          c ||
            (c =
              r.haveNativeFlagInUA() || i || "2" === e || "toUT2HC" === e || u),
          n && "AliBCBridge" !== n.bridgeName && (c = !!n.toUT2),
          c
        );
      };
    (e.isToUT2 = s),
      (e.isEnable = function (t, e) {
        var n = s(e),
          o = !0;
        switch (t) {
          case "what_to_hjlj_ut2":
          case "do_sendhjlj_ut2":
          case "what_to_sendpv_ut2":
          case "do_sendpv_ut2":
            o = !!n;
            break;
          case "what_to_hjlj_ut":
          case "do_sendhjlj_ut":
          case "what_to_sendpv_ut":
          case "do_sendpv_ut":
            o = !n;
        }
        return o;
      });
  },
  function (t, e, n) {
    "use strict";
    function o(t) {
      var e,
        n,
        o,
        a,
        r = [],
        s = {};
      for (e = t.length - 1; e >= 0; e--)
        (n = t[e]),
          (o = n[0]),
          (o && o.indexOf(i.s_plain_obj) == -1 && s.hasOwnProperty(o)) ||
            ((a = n[1]),
            ("aplus" == o || a) && (r.unshift([o, a]), (s[o] = 1)));
      return r;
    }
    function a(t) {
      var e,
        n,
        o,
        a,
        r = [],
        u = { logtype: !0, cache: !0, scr: !0, "spm-cnt": !0 };
      for (e = t.length - 1; e >= 0; e--)
        if (
          ((n = t[e]),
          (o = n[0]),
          (a = n[1]),
          !(
            (s.isStartWith(o, i.s_plain_obj) &&
              !s.isStartWith(o, i.mkPlainKeyForExparams())) ||
            u[o]
          ))
        )
          if (s.isStartWith(o, i.mkPlainKeyForExparams())) {
            var c = i.param2arr(a);
            if ("object" == typeof c && c.length > 0)
              for (var l = c.length - 1; l >= 0; l--) {
                var p = c[l];
                p && p[1] && r.unshift([p[0], p[1]]);
              }
          } else r.unshift([o, a]);
      return r;
    }
    function r() {
      var t = { isonepage: "-1", urlpagename: "" },
        e = g.qGet();
      if (e && e.hasOwnProperty("isonepage_data"))
        (t.isonepage = e.isonepage_data.isonepage),
          (t.urlpagename = e.isonepage_data.urlpagename);
      else {
        var n = c.getMetaCnt("isonepage") || "-1",
          o = n.split("|");
        (t.isonepage = o[0]), (t.urlpagename = o[1] ? o[1] : "");
      }
      return t;
    }
    var i = n(18),
      s = n(9),
      u = n(25),
      c = n(28),
      l = n(52),
      p = n(42),
      g = n(26),
      f = n(4),
      d = n(11);
    t.exports = function () {
      return {
        init: function (t) {
          this.options = t;
        },
        keyIsAvailable: function (t) {
          var e = [
            "functype",
            "funcId",
            "spm-cnt",
            "spm-url",
            "spm-pre",
            "_ish5",
            "_is_g2u",
            "_h5url",
            "cna",
            "isonepage",
            "lver",
            "jsver",
          ];
          return i.indexof(e, t) === -1;
        },
        valIsAvailable: function (t) {
          return "object" != typeof t && "function" != typeof t;
        },
        upUtData: function (t, e) {
          var n = this;
          if (((t = t ? t : {}), e && "object" == typeof e))
            for (var o in e) {
              var a = e[o];
              o && n.valIsAvailable(a) && n.keyIsAvailable(o) && (t[o] = a);
            }
          return t;
        },
        getToUtData: function (t) {
          var e = u.getGoldlogVal("_$") || {},
            n = e.spm || {},
            s = this.options.context || {},
            c = !!s.is_single,
            p = s.what_to_sendpv || {},
            g = a(o(p.exparams || []));
          g = i.arr2obj(g);
          var _ = i.arr2obj(p.pvdata),
            h = a(o(s.userdata || []));
          h = i.arr2obj(h);
          var m = location.href,
            v = {},
            b = l.getParamFromUrl("scm", m) || "";
          b && (v.scm = b);
          var y = l.getParamFromUrl("pg1stepk", m) || "";
          y && (v.pg1stepk = y);
          var w = l.getParamFromUrl("point", m) || "";
          w && (v.issb = 1),
            _ && _.mansndlog && (v.mansndlog = _.mansndlog),
            (v = this.upUtData(v, g)),
            (v = this.upUtData(v, h));
          var x = r();
          (v.functype = "page"),
            (v.funcId = "2001"),
            (v.url =
              goldlog.getMetaInfo("aplus-pagename") ||
              location.origin + location.pathname),
            (v._ish5 = "1"),
            (v._h5url = m),
            (v._toUT = 2),
            (v._bridgeName = t.bridgeName || ""),
            (v._bridgeVersion = t.bridgeVersion || ""),
            (v["spm-cnt"] = n.spm_cnt || ""),
            (v["spm-url"] = n.spm_url || ""),
            (v["spm-pre"] = n.spm_pre || ""),
            (v.cna = d.getCookie("cna")),
            (v.lver = goldlog.lver || f.lver),
            (v.jsver = f.script_name),
            (v.pver = goldlog.aplus_cplugin_ver),
            (v.isonepage = x.isonepage);
          var T = goldlog.getMetaInfo("aplus-utparam");
          return (
            T && (v["utparam-cnt"] = JSON.stringify(T)),
            (v._is_g2u_ = c ? 1 : 2),
            v
          );
        },
        run: function () {
          var t = this.options.context || {},
            e = t.what_to_sendpv_ut2 || {},
            n = t.where_to_sendlog_ut || {},
            o = n.aplusToUT || {},
            a = o.toUT2 || {};
          ((a && a.isAvailable && "function" == typeof a.toUT2) ||
            p.haveNativeFlagInUA()) &&
            ((e.pvdataToUt = this.getToUtData(a)),
            (this.options.context.what_to_sendpv_ut2 = e));
        },
      };
    };
  },
  function (t, e, n) {
    "use strict";
    function o(t) {
      var e,
        n,
        o,
        a,
        i = [],
        s = {};
      for (e = t.length - 1; e >= 0; e--)
        (n = t[e]),
          (o = n[0]),
          (o && o.indexOf(r.s_plain_obj) == -1 && s.hasOwnProperty(o)) ||
            ((a = n[1]),
            ("aplus" == o || a) && (i.unshift([o, a]), (s[o] = 1)));
      return i;
    }
    function a(t) {
      var e,
        n,
        o,
        a,
        s = [],
        u = { logtype: !0, cache: !0, scr: !0, "spm-cnt": !0 };
      for (e = t.length - 1; e >= 0; e--)
        if (
          ((n = t[e]),
          (o = n[0]),
          (a = n[1]),
          !(
            (i.isStartWith(o, r.s_plain_obj) &&
              !i.isStartWith(o, r.mkPlainKeyForExparams())) ||
            u[o]
          ))
        )
          if (i.isStartWith(o, r.mkPlainKeyForExparams())) {
            var c = r.param2arr(a);
            if ("object" == typeof c && c.length > 0)
              for (var l = c.length - 1; l >= 0; l--) {
                var p = c[l];
                p && p[1] && s.unshift([p[0], p[1]]);
              }
          } else s.unshift([o, a]);
      return s;
    }
    var r = n(18),
      i = n(9),
      s = n(25),
      u = n(28),
      c = n(42),
      l = n(26),
      p = n(4),
      g = n(11);
    t.exports = function () {
      return {
        init: function (t) {
          this.options = t;
        },
        getToUtData: function (t, e) {
          var n,
            i = s.getGoldlogVal("_$") || {},
            c = i.spm || {},
            f = a(o(t)),
            d = {};
          try {
            var _ = r.arr2obj(f);
            (_._toUT = 1),
              (_._bridgeName = e.bridgeName || ""),
              (_._bridgeVersion = e.bridgeVersion || ""),
              (n = JSON.stringify(_));
          } catch (t) {
            n = '{"_toUT":1}';
          }
          var h = u.getOnePageInfo(l);
          (d.functype = "2001"),
            (d.urlpagename = h.urlpagename),
            (d.url = location.href),
            (d.spmcnt = c.spm_cnt || ""),
            (d.spmurl = c.spm_url || ""),
            (d.spmpre = c.spm_pre || ""),
            (d.lzsid = ""),
            (d.cna = g.getCookie("cna")),
            (d.extendargs = n),
            (d.isonepage = h.isonepage);
          var m = this.options.context || {},
            v = !!m.is_single;
          return (
            (d._is_g2u_ = v ? 1 : 2),
            (d.version = p.toUtVersion),
            (d.lver = goldlog.lver || p.lver),
            (d.jsver = p.script_name),
            d
          );
        },
        run: function () {
          var t = this.options.context || {},
            e = t.what_to_sendpv || {},
            n = e.pvdata || [],
            o = t.what_to_sendpv_ut || {},
            a = t.where_to_sendlog_ut || {},
            r = a.aplusToUT || {},
            i = r.toUT || {};
          ((i && i.isAvailable && "function" == typeof i.toUT2) ||
            c.haveNativeFlagInUA()) &&
            ((o.pvdataToUt = this.getToUtData(n, i)),
            (this.options.context.what_to_sendpv_ut = o));
        },
      };
    };
  },
  function (t, e) {
    "use strict";
    t.exports = function () {
      return {
        init: function (t) {
          this.options = t;
        },
        run: function () {
          var t = this.options.context || {},
            e = t.is_single ? "1" : "0";
          if (
            ((t.what_to_sendpv_ut2.pvdataToUt._slog = e),
            (t.what_to_sendpv_ut.pvdataToUt._slog = e),
            t.what_to_sendpv.pvdata.push(["_slog", e]),
            t.ut_is_available)
          ) {
            var n = t.is_single ? "1" : "2";
            t.what_to_sendpv.pvdata.push(["_is_g2u", n]);
          }
        },
      };
    };
  },
  function (t, e, n) {
    "use strict";
    var o = n(25);
    t.exports = function () {
      return {
        init: function (t) {
          this.options = t;
        },
        run: function () {
          var t = o.getGoldlogVal("_$") || {},
            e = this.options.context.can_to_sendpv || {},
            n = t.send_pv_count || 0,
            a = this.options.config || {};
          return a.is_auto && n > 0
            ? "done"
            : ((e.flag = "YES"),
              (this.options.context.can_to_sendpv = e),
              (t.send_pv_count = ++n),
              void o.setGoldlogVal("_$", t));
        },
      };
    };
  },
  function (t, e, n) {
    "use strict";
    var o = n(25),
      a = n(18);
    t.exports = function () {
      return {
        init: function (t) {
          this.options = t;
        },
        run: function () {
          var t = this.options.context || {},
            e = !!t.is_single;
          if (!e) {
            var n = t.what_to_sendpv || {},
              r = t.where_to_sendpv || {},
              i = n.pvdata || [],
              s = goldlog.getMetaInfo("aplus-channel");
            if ("WS-ONLY" !== s) {
              var u = location.hostname + location.pathname,
                c = "www.taobao.com/" === u || "www.aliyun.com/" === u,
                l = goldlog.send(
                  r.url,
                  c ? a.arr2param(i) : a.arr2obj(i),
                  c ? "POST" : ""
                );
              o.setGoldlogVal("req", l);
            }
          }
        },
      };
    };
  },
  function (t, e, n) {
    "use strict";
    var o = n(42);
    t.exports = function () {
      return {
        init: function (t) {
          this.options = t;
        },
        run: function (t, e) {
          var n = this,
            a = this.options.context || {},
            r = a.what_to_sendpv_ut2 || {},
            i = a.where_to_sendlog_ut || {},
            s = r.pvdataToUt || {},
            u = i.aplusToUT || {},
            c = u.toUT2;
          if (o.isNative4Aplus())
            return (
              (u.toutflag = "toUT2"),
              (i.toUTName = "toUT2"),
              void (n.options.context.what_to_sendpv_ut2.isSuccess = !0)
            );
          if (c && "function" == typeof c.toUT2 && c.isAvailable)
            try {
              (u.toutflag = "toUT2"),
                c.toUT2(
                  s,
                  function () {
                    (n.options.context.what_to_sendpv_ut2.isSuccess = !0),
                      e("done");
                  },
                  function (t) {
                    (n.options.context.what_to_sendpv_ut2.errorMsg = t), e();
                  },
                  2e3
                );
            } catch (t) {
              e();
            } finally {
              return "pause";
            }
        },
      };
    };
  },
  function (t, e, n) {
    "use strict";
    var o = n(42);
    t.exports = function () {
      return {
        init: function (t) {
          this.options = t;
        },
        run: function (t, e) {
          var n = this,
            a = this.options.context || {},
            r = a.what_to_sendpv_ut || {},
            i = a.where_to_sendlog_ut || {},
            s = r.pvdataToUt || {},
            u = i.aplusToUT || {},
            c = u.toUT;
          if (o.isNative4Aplus())
            return (
              (u.toutflag = "toUT"),
              (i.toUTName = "toUT"),
              void (n.options.context.what_to_sendpv_ut.isSuccess = !0)
            );
          if (c && "function" == typeof c.toUT2 && c.isAvailable)
            try {
              (u.toutflag = "toUT"),
                c.toUT2(
                  s,
                  function () {
                    (n.options.context.what_to_sendpv_ut.isSuccess = !0), e();
                  },
                  function (t) {
                    (n.options.context.what_to_sendpv_ut.errorMsg = t), e();
                  },
                  2e3
                );
            } catch (t) {
              e();
            } finally {
              return "pause";
            }
        },
      };
    };
  },
  function (t, e, n) {
    "use strict";
    var o = n(32),
      a = n(25);
    t.exports = function () {
      return {
        init: function (t) {
          this.options = t;
        },
        run: function () {
          var t = goldlog._$ || {},
            e = this.options.context || {};
          a.setGoldlogVal("pv_context", e);
          var n = goldlog.spm_ab || [],
            r = n.join("."),
            i = t.send_pv_count,
            s = { cna: e.etag.cna, count: i, spmab_pre: goldlog.spmab_pre };
          o.doPubMsg(["sendPV", "complete", r, s]),
            o.doCachePubs(["sendPV", "complete", r, s]);
        },
      };
    };
  },
  function (t, e) {
    "use strict";
    e.plugins_prepv = [];
  },
  function (t, e, n) {
    "use strict";
    function o() {
      var t = i.getGoldlogVal("_$") || {},
        e = "//gm.mmstat.com/";
      return (
        t.is_terminal && (e = "//wgo.mmstat.com/"),
        {
          where_to_hjlj: {
            url: e,
            ac_atpanel: "//ac.mmstat.com/",
            tblogUrl: "//log.mmstat.com/",
          },
        }
      );
    }
    function a() {
      return r.assign(new s(), new o());
    }
    var r = n(9),
      i = n(25),
      s = n(67);
    t.exports = a;
  },
  function (t, e, n) {
    "use strict";
    function o() {
      return {
        compose: {},
        basic_params: { cna: a.getCookie("cna") },
        where_to_hjlj: {
          url: "//gm.mmstat.com/",
          ac_atpanel: "//ac.mmstat.com/",
          tblogUrl: "//log.mmstat.com/",
        },
        userdata: {},
        what_to_hjlj: { logdata: {} },
        what_to_pvhash: { hash: [] },
        what_to_hjlj_exinfo: {
          EXPARAMS_FLAG: "EXPARAMS",
          exinfo: [],
          exparams_key_names: ["uidaplus", "pc_i", "pu_i"],
        },
        what_to_hjlj_ut: { logdataToUT: {} },
        what_to_hjlj_ut2: { isSuccess: !1, logdataToUT: {} },
        where_to_sendlog_ut: { aplusToUT: {}, toUTName: "toUT" },
        network: { connType: "UNKNOWN" },
        is_single: !1,
      };
    }
    var a = n(11);
    t.exports = o;
  },
  function (t, e, n) {
    "use strict";
    e.plugins_hjlj = [
      { name: "etag", enable: !0, path: n(37) },
      { name: "where_to_sendlog_ut", enable: !0, path: n(39) },
      { name: "is_single", enable: !0, path: n(41) },
      { name: "what_to_hjlj_exinfo", enable: !0, path: n(69) },
      { name: "what_to_pvhash", enable: !0, path: n(45) },
      {
        name: "what_to_hjlj",
        enable: !0,
        path: n(70),
        deps: ["what_to_hjlj_exinfo", "what_to_pvhash"],
      },
      {
        name: "what_to_hjlj_ut2",
        enable: n(56),
        path: n(71),
        deps: ["is_single", "what_to_hjlj_exinfo"],
      },
      {
        name: "what_to_hjlj_ut",
        enable: n(56),
        path: n(72),
        deps: ["is_single", "what_to_hjlj_exinfo"],
      },
      {
        name: "what_to_hjlj_slog",
        enable: !0,
        path: n(73),
        deps: ["what_to_hjlj"],
      },
      {
        name: "where_to_hjlj",
        enable: !0,
        path: n(74),
        deps: ["is_single", "what_to_hjlj"],
      },
      {
        name: "do_sendhjlj",
        enable: !0,
        path: n(75),
        deps: ["is_single", "what_to_hjlj", "where_to_hjlj"],
      },
      {
        name: "do_sendhjlj_ut2",
        enable: n(56),
        path: n(76),
        deps: ["what_to_hjlj", "what_to_hjlj_ut2", "where_to_sendlog_ut"],
      },
      {
        name: "do_sendhjlj_ut",
        path: n(77),
        deps: ["what_to_hjlj", "what_to_hjlj_ut", "where_to_sendlog_ut"],
      },
    ];
  },
  function (t, e, n) {
    "use strict";
    var o = n(18),
      a = n(30),
      r = n(25),
      i = n(25),
      s = n(12),
      u = n(11);
    t.exports = function () {
      return {
        init: function (t) {
          this.options = t;
        },
        getCookieUserInfo: function () {
          var t = [],
            e = u.getCookie("workno") || u.getCookie("emplId");
          e && t.push("workno=" + e);
          var n = u.getHng();
          return n && t.push("_hng=" + u.getHng()), t;
        },
        filterExinfo: function (t) {
          var e = "";
          try {
            t &&
              ("string" == typeof t
                ? (e = t
                    .replace(/&amp;/g, "&")
                    .replace(/\buser(i|I)d=/, "uidaplus=")
                    .replace(/&aplus&/, "&"))
                : "object" == typeof t && (e = o.obj2param(t, !0)));
          } catch (t) {
            e = t.message ? t.message : "";
          }
          return e;
        },
        getExparamsFlag: function () {
          var t = this.options.context || {},
            e = t.what_to_hjlj_exinfo || {};
          return e.EXPARAMS_FLAG || "EXPARAMS";
        },
        getCustomExParams: function (t) {
          var e = "";
          return (
            t !== this.getExparamsFlag() && (e = this.filterExinfo(t) || ""),
            e ? e.split("&") : []
          );
        },
        getBeaconExparams: function (t, e) {
          var n = [],
            r = a.getExParams(o) || "";
          r = r.replace(/&aplus&/, "&");
          for (
            var i = o.param2arr(r) || [],
              u = function (e) {
                return s.indexof(t, e) > -1;
              },
              c = 0;
            c < i.length;
            c++
          ) {
            var l = i[c],
              p = l[0] || "",
              g = l[1] || "";
            p &&
              g &&
              (e === this.getExparamsFlag() || u(p)) &&
              n.push(p + "=" + g);
          }
          return n;
        },
        getExinfo: function (t) {
          var e = this.options.context || {},
            n = e.what_to_hjlj_exinfo || {},
            o = n.exparams_key_names || [],
            a = this.getBeaconExparams(o, t);
          return a;
        },
        getExData: function (t) {
          var e = [];
          if ("object" == typeof t)
            for (var n in t) {
              var o = t[n];
              n &&
                o &&
                "object" != typeof o &&
                "function" != typeof o &&
                e.push(n + "=" + o);
            }
          return e;
        },
        doConcatArr: function (t, e) {
          return e && e.length > 0 && (t = t.concat(e)), t;
        },
        run: function () {
          try {
            var t = this.options.context.what_to_hjlj_exinfo || {},
              e = r.getGoldlogVal("_$") || {},
              n = e.meta_info || {},
              o = n["aplus-exinfo"] || "",
              a = n["aplus-exdata"] || "",
              s = [];
            (s = this.doConcatArr(s, t.exinfo || [])),
              (s = this.doConcatArr(s, this.getExinfo(o))),
              (s = this.doConcatArr(s, this.getCookieUserInfo())),
              (s = this.doConcatArr(s, this.getCustomExParams(o))),
              (s = this.doConcatArr(s, this.getExData(a))),
              (t.exinfo = s.join("&")),
              (this.options.context.what_to_hjlj_exinfo = t);
          } catch (t) {
            i.logger({ msg: t ? t.message : "" });
          }
        },
      };
    };
  },
  function (t, e, n) {
    "use strict";
    var o = n(30),
      a = n(18),
      r = n(11),
      i = n(9),
      s = n(4);
    t.exports = function () {
      return {
        init: function (t) {
          this.options = t;
        },
        getParams: function () {
          var t = this.options.context || {},
            e = t.userdata || {},
            n = t.basic_params || {},
            u = t.what_to_hjlj_exinfo || {},
            c = u.exinfo || "",
            l = t.etag || {},
            p = l.cna || n.cna || r.getCookie("cna"),
            g = e.gmkey,
            f = "";
          e.gokey && c
            ? (f = [e.gokey, c].join("&"))
            : e.gokey
            ? (f = e.gokey)
            : c && (f = c);
          var d = t.what_to_pvhash || {},
            _ = d.hash || [];
          _.length && (f += "&" + _.join("=")),
            (f += "&jsver=" + s.script_name),
            (f += "&lver=" + s.lver),
            (f += "&pver=" + goldlog.aplus_cplugin_ver),
            (f += "&cache=" + i.makeCacheNum()),
            (f += "&page_cna=" + p);
          var h = { gmkey: g || "", gokey: f, cna: p };
          try {
            var m = location.href.substring(0, 1200);
            m && (h._p_url = goldlog.getMetaInfo("aplus-p-url") || m);
          } catch (t) {}
          e["spm-cnt"] && (h["spm-cnt"] = e["spm-cnt"]),
            e["spm-pre"] && (h["spm-pre"] = e["spm-pre"]);
          try {
            var v = o.getExParams(a),
              b = a.param2obj(v).uidaplus;
            b && (h._gr_uid_ = b);
            var y = a.param2obj(f).uidaplus;
            y && (h.uidaplus = y);
          } catch (t) {}
          return h;
        },
        run: function () {
          this.options.context.what_to_hjlj.logdata = this.getParams();
        },
      };
    };
  },
  function (t, e, n) {
    "use strict";
    var o = n(43),
      a = n(25),
      r = n(4);
    t.exports = function () {
      return {
        init: function (t) {
          this.options = t;
        },
        getToUtData: function (t, e) {
          var n = a.getGoldlogVal("_$") || {},
            i = n.spm || {},
            s = this.options.context.userdata || {},
            u = this.options.context.basic_params || {},
            c = this.options.context || {},
            l = c.what_to_hjlj_exinfo || {},
            p = l.exinfo || "",
            g = "";
          s.gokey && p
            ? (g = [s.gokey, p].join("&"))
            : s.gokey
            ? (g = s.gokey)
            : p && (g = p);
          var f = {};
          (f.functype = "ctrl"),
            (f.funcId = o.getFunctypeValue2({
              logkey: s.logkey,
              gmkey: s.gmkey,
              spm_ab: a.getGoldlogVal("spm_ab"),
            })),
            (f.url =
              goldlog.getMetaInfo("aplus-pagename") ||
              location.origin + location.pathname),
            (f.logkey = s.logkey),
            (f.gokey = encodeURIComponent(g)),
            (f.gmkey = s.gmkey),
            (f._ish5 = "1"),
            (f._h5url = location.href),
            (f._is_g2u_ = t ? 1 : 2),
            (f._toUT = 2),
            (f._bridgeName = e.bridgeName || ""),
            (f._bridgeVersion = e.bridgeVersion || ""),
            (f["spm-cnt"] = i.spm_cnt || ""),
            (f["spm-url"] = i.spm_url || ""),
            (f["spm-pre"] = i.spm_pre || ""),
            (f.cna = u.cna),
            (f.lver = r.lver),
            (f.jsver = r.script_name),
            s.hasOwnProperty("autosend") && (f.autosend = s.autosend);
          var d = goldlog.getMetaInfo("aplus-utparam");
          return d && (f["utparam-cnt"] = JSON.stringify(d)), f;
        },
        run: function () {
          var t = this.options.context || {},
            e = t.what_to_hjlj_ut2 || {},
            n = !!t.is_single,
            o = t.where_to_sendlog_ut || {},
            a = o.aplusToUT || {},
            r = a.toUT2 || {};
          (e.logdataToUT = this.getToUtData(n, r)),
            (this.options.context.what_to_hjlj_ut2 = e);
        },
      };
    };
  },
  function (t, e, n) {
    "use strict";
    var o = n(43),
      a = n(11),
      r = n(25),
      i = n(4);
    t.exports = function () {
      return {
        init: function (t) {
          this.options = t;
        },
        getToUtData: function (t, e) {
          var n = r.getGoldlogVal("_$") || {},
            s = n.spm || {},
            u = this.options.context || {},
            c = u.userdata || {},
            l = u.what_to_hjlj_exinfo || {},
            p = l.exinfo || "",
            g = "";
          c.gokey && p
            ? (g = [c.gokey, p].join("&"))
            : c.gokey
            ? (g = c.gokey)
            : p && (g = p);
          var f = {
            gmkey: c.gmkey,
            gokey: g,
            lver: i.lver,
            jsver: i.script_name,
            version: i.toUtVersion,
            spm_cnt: s.spm_cnt || "",
            spm_url: s.spm_url || "",
            spm_pre: s.spm_pre || "",
          };
          (f._is_g2u_ = t ? 1 : 2),
            (f._bridgeName = e.bridgeName || ""),
            (f.bridgeVersion = e.bridgeVersion || ""),
            (f._toUT = 1);
          try {
            (f = JSON.stringify(f)), "{}" == f && (f = "");
          } catch (t) {
            f = "";
          }
          var d = n.meta_info || {},
            _ = d.isonepage_data || {},
            h = {};
          return (
            (h.functype = o.getFunctypeValue({
              logkey: c.logkey,
              gmkey: c.gmkey,
              spm_ab: r.getGoldlogVal("spm_ab"),
            })),
            (h.spmcnt = s.spm_cnt || ""),
            (h.spmurl = s.spm_url || ""),
            (h.spmpre = s.spm_pre || ""),
            (h.logkey = c.logkey),
            (h.logkeyargs = f),
            (h.urlpagename = _.urlpagename),
            (h.url = location.href),
            (h.cna = a.getCookie("cna") || ""),
            (h.extendargs = ""),
            (h.isonepage = _.isonepage),
            h
          );
        },
        run: function () {
          var t = this.options.context || {},
            e = !!t.is_single,
            n = t.what_to_hjlj_ut || {},
            o = t.where_to_sendlog_ut || {},
            a = o.aplusToUT || {},
            r = a.toUT || {};
          (n.logdataToUT = this.getToUtData(e, r)),
            (this.options.context.what_to_hjlj_ut = n);
        },
      };
    };
  },
  function (t, e) {
    "use strict";
    t.exports = function () {
      return {
        init: function (t) {
          this.options = t;
        },
        run: function () {
          var t = this.options.context || {},
            e = t.is_single ? "1" : "0";
          (t.what_to_hjlj_ut2.logdataToUT._slog = e),
            (t.what_to_hjlj_ut.logdataToUT._slog = e);
          var n = ["_slog=" + e];
          if (t.ut_is_available) {
            var o = t.is_single ? "1" : "2";
            n.push("_is_g2u=" + o);
          }
          t.what_to_hjlj.logdata.gokey
            ? (t.what_to_hjlj.logdata.gokey += "&" + n.join("&"))
            : (t.what_to_hjlj.logdata.gokey = n.join("&"));
        },
      };
    };
  },
  function (t, e, n) {
    "use strict";
    var o = n(18),
      a = n(9),
      r = n(25),
      i = n(24),
      s = n(26);
    t.exports = function () {
      return {
        init: function (t) {
          this.options = t;
        },
        getMetaInfo: function () {
          var t = r.getGoldlogVal("_$") || {},
            e = t.meta_info || s.getInfo();
          return e;
        },
        getAplusMetaByKey: function (t) {
          var e = this.getMetaInfo() || {};
          return e[t];
        },
        cramUrl: function (t) {
          var e = r.getGoldlogVal("_$") || {},
            n = e.spm || {},
            o = this.options.context.where_to_hjlj || {},
            i = o.ac_atpanel,
            s = o.tblogUrl,
            u = this.options.context.what_to_hjlj || {},
            c = this.options.context.userdata || {},
            l = !0,
            p = c.logkey;
          if (!p) return { url: t, logkey_available: !1 };
          if ("ac" == p) t = i + "1.gif";
          else if (a.isStartWith(p, "ac-")) t = i + p.substr(3);
          else if (a.isStartWith(p, "/")) {
            t += p.substr(1);
            var g = u.logdata || {};
            (g["spm-cnt"] = n.spm_cnt), (g.logtype = 2);
            try {
              (u.logdata = g), (this.options.context.what_to_hjlj = u);
            } catch (t) {}
          } else a.isEndWith(p, ".gif") ? (t = s + p) : (l = !1);
          return { url: t, logkey_available: l };
        },
        can_to_sendhjlj: function (t) {
          var e = this.options.context || {},
            n = e.logger || function () {},
            o = this.options.context.userdata || {};
          return (
            !!t.logkey_available ||
            (n({ msg: "logkey: " + o.logkey + " is not legal!" }), !1)
          );
        },
        run: function () {
          var t = !!this.options.context.is_single;
          if (!t) {
            var e,
              n,
              a = o.filterIntUrl(this.options.context.where_to_hjlj.url),
              r = this.getAplusMetaByKey("aplus-rhost-g"),
              s = r && o.hostValidity(r);
            s &&
              ((e = /^\/\//.test(r) ? "" : "//"),
              (n = /\/$/.test(r) ? "" : "/"),
              (a = e + r + n)),
              r &&
                !s &&
                i.logger({
                  msg:
                    "aplus-rhost-g: " +
                    r +
                    ' is invalid, suggestion: "xxx.mmstat.com"',
                });
            var u = this.cramUrl(a);
            return this.can_to_sendhjlj(u)
              ? void (this.options.context.where_to_hjlj.url = u.url)
              : "done";
          }
        },
      };
    };
  },
  function (t, e, n) {
    "use strict";
    var o = n(25);
    t.exports = function () {
      return {
        init: function (t) {
          this.options = t;
        },
        run: function () {
          var t = this.options.context || {},
            e = this.options.config || {},
            n = !!t.is_single;
          if (!n) {
            var a = t.logger || {},
              r = t.what_to_hjlj || {},
              i = t.where_to_hjlj || {},
              s = r.logdata || {},
              u = i.url || "";
            u ||
              "function" != typeof a ||
              a({
                msg: "warning: where_to_hjlj.url is null, goldlog.record failed!",
              });
            var c = goldlog.getMetaInfo("aplus-channel");
            if ("WS-ONLY" !== c) {
              var l = goldlog.send(i.url, s, e.method || "GET");
              o.setGoldlogVal("req", l);
            }
          }
        },
      };
    };
  },
  function (t, e, n) {
    "use strict";
    var o = n(42);
    t.exports = function () {
      return {
        init: function (t) {
          this.options = t;
        },
        run: function (t, e) {
          var n = this,
            a = this.options.context || {},
            r = a.logger || function () {},
            i = a.what_to_hjlj_ut2 || {},
            s = a.where_to_sendlog_ut || {},
            u = !!a.is_single,
            c = i.logdataToUT || {},
            l = s.aplusToUT || {},
            p = l.toUT2;
          if (o.isNative4Aplus())
            return (
              (l.toutflag = "toUT2"),
              (s.toUTName = "toUT2"),
              void (n.options.context.what_to_hjlj_ut2.isSuccess = !0)
            );
          if (p && "function" == typeof p.toUT2 && p.isAvailable)
            try {
              (l.toutflag = "toUT2"),
                p.toUT2(
                  c,
                  function () {
                    (n.options.context.what_to_hjlj_ut2.isSuccess = !0), e();
                  },
                  function (t) {
                    (n.options.context.what_to_hjlj_ut2.errorMsg = t), e();
                  },
                  2e3
                );
            } catch (t) {
              u &&
                r({
                  msg:
                    "warning: singleSendHjlj toUTName = toUT2 errorMsg:" +
                    t.message,
                });
            } finally {
              return "pause";
            }
        },
      };
    };
  },
  function (t, e, n) {
    "use strict";
    var o = n(42);
    t.exports = function () {
      return {
        init: function (t) {
          this.options = t;
        },
        run: function (t, e) {
          var n = this,
            a = this.options.context || {},
            r = a.what_to_hjlj_ut2.isSuccess,
            i = a.logger || function () {},
            s = !!a.is_single,
            u = a.where_to_sendlog_ut || {},
            c = a.what_to_hjlj_ut || {},
            l = c.logdataToUT || {},
            p = u.aplusToUT || {},
            g = p.toUT;
          if (o.isNative4Aplus())
            return (
              (p.toutflag = "toUT"),
              (u.toUTName = "toUT"),
              void (n.options.context.what_to_hjlj_ut.isSuccess = !0)
            );
          if (!r && g && "function" == typeof g.toUT2 && g.isAvailable)
            try {
              (p.toutflag = "toUT"),
                g.toUT2(
                  l,
                  function () {
                    (n.options.context.what_to_hjlj_ut.isSuccess = !0), e();
                  },
                  function (t) {
                    (n.options.context.what_to_hjlj_ut.errorMsg = t), e();
                  },
                  3e3
                );
            } catch (t) {
              s &&
                i({
                  msg:
                    "warning: singleSend toUTName = " +
                    u.toUTName +
                    " errorMsg:" +
                    t.message,
                });
            } finally {
              return "pause";
            }
        },
      };
    };
  },
  function (t, e, n) {
    "use strict";
    function o() {
      var t,
        e,
        n = i.KEY || {},
        o = n.NAME_STORAGE || {};
      if (!c && u) {
        var a = location.href,
          l =
            u &&
            (a.indexOf("login.taobao.com") >= 0 ||
              a.indexOf("login.tmall.com") >= 0),
          p = s.getRefer();
        l && p
          ? ((t = p), (e = r.getItem(o.REFERRER_PV_ID)))
          : ((t = a), (e = goldlog.pvid)),
          r.setItem(o.REFERRER, t),
          r.setItem(o.REFERRER_PV_ID, e);
      }
    }
    var a = n(79),
      r = n(54).nameStorage,
      i = n(4),
      s = n(53),
      u = "https:" == location.protocol,
      c = parent !== self;
    e.run = function () {
      var t = "beforeunload";
      a.on(window, t, function () {
        o();
      });
    };
  },
  function (t, e, n) {
    "use strict";
    function o(t, e, n) {
      var o = goldlog._$ || {},
        a = o.meta_info || {},
        r = a.aplus_ctap || {},
        i = a["aplus-touch"];
      if (r && "function" == typeof r.on) r.on(t, e);
      else {
        var u = "ontouchend" in document.createElement("div");
        !u || ("tap" !== i && "tapSpm" !== n)
          ? s(t, u ? "touchstart" : "mousedown", e)
          : c.on(t, e);
      }
    }
    function a(t) {
      try {
        p.documentElement.doScroll("left");
      } catch (e) {
        return void setTimeout(function () {
          a(t);
        }, 1);
      }
      t();
    }
    function r(t) {
      var e = 0,
        n = function () {
          0 === e && t(), e++;
        };
      "complete" === p.readyState && n();
      var o;
      if (p.addEventListener)
        (o = function () {
          p.removeEventListener("DOMContentLoaded", o, !1), n();
        }),
          p.addEventListener("DOMContentLoaded", o, !1),
          window.addEventListener("load", n, !1);
      else if (p.attachEvent) {
        (o = function () {
          "complete" === p.readyState &&
            (p.detachEvent("onreadystatechange", o), n());
        }),
          p.attachEvent("onreadystatechange", o),
          window.attachEvent("onload", n);
        var r = !1;
        try {
          r = null === window.frameElement;
        } catch (t) {}
        p.documentElement.doScroll && r && a(n);
      }
    }
    function i(t) {
      "complete" === p.readyState ? t() : s(l, "load", t);
    }
    function s() {
      var t = arguments;
      if (2 === t.length)
        "DOMReady" === t[0] && r(t[1]), "onload" === t[0] && i(t[1]);
      else if (3 === t.length) {
        var e = t[0],
          n = t[1],
          a = t[2];
        "tap" === n || "tapSpm" === n
          ? o(e, a, n)
          : e[_](
              (g ? "on" : "") + n,
              function (t) {
                t = t || l.event;
                var e = t.target || t.srcElement;
                "function" == typeof a && a(t, e);
              },
              !!u(n) && { passive: !0 }
            );
      }
    }
    var u = n(80),
      c = n(81),
      l = window,
      p = document,
      g = !!p.attachEvent,
      f = "attachEvent",
      d = "addEventListener",
      _ = g ? f : d;
    (e.DOMReady = r), (e.onload = i), (e.on = s);
  },
  function (t, e) {
    var n;
    t.exports = function (t) {
      if ("boolean" == typeof n) return n;
      if (!/touch|mouse|scroll|wheel/i.test(t)) return !1;
      n = !1;
      try {
        var e = Object.defineProperty({}, "passive", {
          get: function () {
            n = !0;
          },
        });
        window.addEventListener("test", null, e);
      } catch (t) {}
      return n;
    };
  },
  function (t, e) {
    "use strict";
    function n(t, e) {
      return t + Math.floor(Math.random() * (e - t + 1));
    }
    function o(t, e, n) {
      var o = l.createEvent("HTMLEvents");
      if ((o.initEvent(e, !0, !0), "object" == typeof n))
        for (var a in n) o[a] = n[a];
      t.dispatchEvent(o);
    }
    function a(t) {
      0 === Object.keys(g).length &&
        (p.addEventListener(_, r, !1),
        p.addEventListener(d, i, !1),
        p.addEventListener(m, i, !1));
      for (var e = 0; e < t.changedTouches.length; e++) {
        var n = t.changedTouches[e],
          o = {};
        for (var a in n) o[a] = n[a];
        var s = {
          startTouch: o,
          startTime: Date.now(),
          status: h,
          element: t.srcElement || t.target,
        };
        g[n.identifier] = s;
      }
    }
    function r(t) {
      for (var e = 0; e < t.changedTouches.length; e++) {
        var n = t.changedTouches[e],
          o = g[n.identifier];
        if (!o) return;
        var a = n.clientX - o.startTouch.clientX,
          r = n.clientY - o.startTouch.clientY,
          i = Math.sqrt(Math.pow(a, 2) + Math.pow(r, 2));
        (o.status === h || "pressing" === o.status) &&
          i > 10 &&
          (o.status = "panning");
      }
    }
    function i(t) {
      for (var e = 0; e < t.changedTouches.length; e++) {
        var n = t.changedTouches[e],
          a = n.identifier,
          s = g[a];
        s &&
          (s.status === h &&
            t.type === d &&
            ((s.timestamp = Date.now()),
            o(s.element, v, { touch: n, touchEvent: t })),
          delete g[a]);
      }
      0 === Object.keys(g).length &&
        (p.removeEventListener(_, r, !1),
        p.removeEventListener(d, i, !1),
        p.removeEventListener(m, i, !1));
    }
    function s(t) {
      t.__fixTouchEvent ||
        (t.addEventListener(f, function () {}, !1), (t.__fixTouchEvent = !0));
    }
    function u() {
      c || (p.addEventListener(f, a, !1), (c = !0));
    }
    var c = !1,
      l = window.document,
      p = l.documentElement,
      g = {},
      f = "touchstart",
      d = "touchend",
      _ = "touchmove",
      h = "tapping",
      m = "touchcancel",
      v = "aplus_tap" + n(1, 1e5);
    t.exports = {
      on: function (t, e) {
        u(),
          t &&
            t.addEventListener &&
            e &&
            (s(t),
            t.addEventListener(
              v,
              (e._aplus_tap_callback = function (t) {
                e(t, t.target);
              }),
              !1
            ));
      },
      un: function (t, e) {
        t &&
          t.removeEventListener &&
          e &&
          e._aplus_tap_callback &&
          t.removeEventListener(v, e._aplus_tap_callback, !1);
      },
    };
  },
  function (t, e, n) {
    "use strict";
    function o() {
      var t = goldlog._$ || {},
        e = t.meta_info || {},
        n = goldlog.getCdnPath(),
        o = n + "/sd/baxia-entry/index.js",
        i = function () {
          a.addScript(o, "", "aplus-baxia");
        };
      r.onload(function () {
        try {
          var t = e["aplus-xplug"];
          "NONE" !== t && i();
        } catch (t) {}
      });
    }
    var a = n(30),
      r = n(79),
      i = n(83);
    (e.run = function () {
      o();
    }),
      (e.init_watchGoldlogQueue = i.init_watchGoldlogQueue);
  },
  function (t, e, n) {
    "use strict";
    function o(t, e) {
      for (
        var n = {
            subscribeMwChangeQueue: [],
            subscribeMetaQueue: [],
            subscribeQueue: [],
            metaQueue: [],
            othersQueue: [],
          },
          o = [],
          a = {};
        (a = t.shift());

      )
        try {
          var r = a.action,
            i = a.arguments[0];
          /subscribe/.test(r)
            ? "setMetaInfo" === i
              ? n.subscribeMetaQueue.push(a)
              : "mw_change_pv" === i || "mw_change_hjlj" === i
              ? n.subscribeMwChangeQueue.push(a)
              : n.subscribeQueue.push(a)
            : /MetaInfo/.test(r)
            ? n.metaQueue.push(a)
            : n.othersQueue.push(a);
        } catch (t) {
          n.othersQueue.push(a),
            u.do_tracker_jserror({
              message: t && t.message,
              error: encodeURIComponent(t.stack),
              filename: "getFormatQueue",
            });
        }
      var s;
      return (
        e && n[e] && ((s = n[e]), (n[e] = [])),
        (o = n.subscribeMwChangeQueue.concat(n.metaQueue)),
        (o = o.concat(n.subscribeQueue)),
        (o = o.concat(n.subscribeMetaQueue, n.othersQueue)),
        { queue: o, formatQueue: s }
      );
    }
    var a = window,
      r = n(9),
      i = n(84),
      s = n(85),
      u = n(3),
      c = "goldlog_queue",
      l = function (t, e, n) {
        try {
          /_aplus_cplugin_track_deb/.test(t) ||
            /_aplus_cplugin_m/.test(t) ||
            u.do_tracker_jserror({
              message:
                n ||
                'illegal task: goldlog_queue.push("' + JSON.stringify(e) + '")',
              error: JSON.stringify(e),
              filename: "processTask",
            });
        } catch (t) {}
      },
      p = function (t, e) {
        var n = t ? t.action : "",
          o = t ? t.arguments : "";
        try {
          if (n && o && r.isArray(o)) {
            var i = n.split("."),
              s = a,
              u = a;
            if (3 === i.length)
              (s = a[i[0]][i[1]] || {}), (u = s[i[2]] ? s[i[2]] : "");
            else
              for (; i.length; )
                if (((u = s = s[i.shift()]), !s))
                  return void ("function" == typeof e ? e(t) : l(n, t));
            "function" == typeof u && u.apply(s, o);
          } else l(n, t);
        } catch (e) {
          l(n, t, e.message);
        }
      },
      g = function (t) {
        function e() {
          if (t && r.isArray(t) && t.length) {
            for (var e = o(t).queue, n = {}, a = []; (n = e.shift()); )
              p(n, function (t) {
                a.push(t);
              });
            a.length > 0 &&
              setTimeout(function () {
                for (; (n = a.shift()); ) p(n);
              }, 100);
          }
        }
        try {
          e();
        } catch (t) {
          u.do_tracker_jserror({
            message: t && t.message,
            error: encodeURIComponent(t.stack),
            filename: "processGoldlogQueue",
          });
        }
      };
    e.processGoldlogQueue = g;
    var f = i.extend({
      push: function (t) {
        this.length++, p(t);
      },
    });
    e.init_watchGoldlogQueue = function (t) {
      try {
        var e = a[c] || [];
        if (t) {
          var n = o(e, t);
          (a[c] = n.queue), g(n.formatQueue);
        } else
          (a[c] = f.create({ startLength: e.length, length: 0 })),
            s.init_loadAplusPlugin(),
            g(e);
      } catch (t) {
        u.do_tracker_jserror({
          message: t && t.message,
          error: encodeURIComponent(t.stack),
          filename: "init_watchGoldlogQueue",
        });
      }
    };
  },
  function (t, e) {
    "use strict";
    function n() {}
    (n.prototype.extend = function () {}),
      (n.prototype.create = function () {}),
      (n.extend = function (t) {
        return this.prototype.extend.call(this, t);
      }),
      (n.prototype.create = function (t) {
        var e = new this();
        for (var n in t) e[n] = t[n];
        return e;
      }),
      (n.prototype.extend = function (t) {
        var e = function () {};
        try {
          "function" != typeof Object.create &&
            (Object.create = function (t) {
              function e() {}
              return (e.prototype = t), new e();
            }),
            (e.prototype = Object.create(this.prototype));
          for (var n in t) e.prototype[n] = t[n];
          (e.prototype.constructor = e),
            (e.extend = e.prototype.extend),
            (e.create = e.prototype.create);
        } catch (t) {
          console.log(t);
        } finally {
          return e;
        }
      }),
      (t.exports = n);
  },
  function (t, e, n) {
    "use strict";
    var o = n(30),
      a = n(28),
      r = n(6),
      i = function () {
        var t = goldlog.getCdnPath() + "/alilog/s/" + r.lver + "/plugin/";
        return {
          aplus_ae_path: t + "aplus_ae.js",
          aplus_ac_path: t + "aplus_ac.js",
        };
      },
      s = {},
      u = "aplus-auto-exp",
      c = "aplus-auto-clk",
      l = function (t, e) {
        var n = i(),
          r = goldlog && goldlog.getMetaInfo ? goldlog.getMetaInfo(t) : "",
          l = e || r || a.getMetaCnt(t),
          p = {};
        (p[u] = n.aplus_ae_path),
          (p[c] = n.aplus_ac_path),
          l && p[t] && !s[t] && (o.addScript(p[t]), (s[t] = !0));
      };
    e.init_loadAplusPlugin = function () {
      try {
        !goldlog._aplus_auto_exp && l(u),
          !goldlog._aplus_ac && l(c),
          goldlog.aplus_pubsub.subscribe("setMetaInfo", function (t, e) {
            t !== u || goldlog._aplus_auto_exp || l(t, e),
              t !== c || goldlog._aplus_ac || l(t, e);
          });
      } catch (t) {}
    };
  },
  function (t, e) {
    "use strict";
    function n(t, e) {
      return t.indexOf(e) > -1;
    }
    function o(t, e) {
      for (var o = 0, a = t.length; o < a; o++) if (n(e, t[o])) return !0;
      return !1;
    }
    var a = location.host,
      r = ["admin.taobao.org", "mybank.cn"],
      i = ["tmc.admin.taobao.org", "tmall.admin.taobao.org"];
    e.is_exception = o(r, a) && !o(i, a);
  },
  function (t, e, n) {
    "use strict";
    function o() {
      var t,
        e,
        n,
        o,
        a = c.getElementsByTagName("meta");
      for (t = 0, e = a.length; t < e; t++)
        if (
          ((n = a[t]),
          (o = n.getAttribute("name")),
          "data-spm" === o || "spm-id" === o)
        )
          return n;
    }
    function a() {
      var t = c.createElement("meta");
      t.setAttribute("name", "data-spm");
      var e = c.getElementsByTagName("head")[0];
      return e && e.insertBefore(t, e.firstChild), t;
    }
    function r() {
      var t = o();
      t || (t = a()), t.setAttribute("content", goldlog.spm_ab[0] || "");
      var e = c.getElementsByTagName("body")[0];
      e && e.setAttribute("data-spm", goldlog.spm_ab[1] || "");
    }
    function i() {
      var t,
        e,
        n,
        o = c.getElementsByTagName("*");
      for (t = 0, e = o.length; t < e; t++)
        (n = o[t]),
          n.getAttribute("data-spm-max-idx") &&
            n.setAttribute("data-spm-max-idx", ""),
          n.getAttribute("data-spm-anchor-id") &&
            n.setAttribute("data-spm-anchor-id", "");
    }
    function s() {
      var t = 5e3;
      try {
        var e = goldlog.getMetaInfo("aplus-mmstat-timeout");
        if (e) {
          var n = parseInt(e);
          n >= 1e3 && n <= 1e4 && (t = n);
        }
      } catch (t) {}
      return t;
    }
    var u = window,
      c = document,
      l = n(84),
      p = n(18),
      g = n(79),
      f = n(30),
      d = n(24),
      _ = n(32),
      h = n(9),
      m = n(25),
      v = n(22),
      b = n(51),
      y = n(26),
      w = y.getInfo(),
      x = n(4),
      T = n(3),
      j = n(88),
      A = n(11),
      P = n(91),
      S = n(93),
      k = [],
      U = [],
      E = [],
      I = [],
      M = "//g.alicdn.com",
      C = "//g-assets.daily.taobao.net",
      N = "//assets.alicdn.com/g",
      V = "//s.alicdn.com/@g/",
      O = "//u.alicdn.com",
      G = "//laz-g-cdn.alicdn.com";
    e.run = l.extend({
      getCdnPath: function () {
        var t = f.getCurrentNode(),
          e = M,
          n = [N, V, C, O, G],
          o = new RegExp(O);
        if (t)
          for (var a = 0; a < n.length; a++) {
            var r = new RegExp(n[a]);
            if (r.test(t.src)) {
              (e = n[a]), o.test(t.src) && (e = N);
              break;
            }
          }
        return e;
      },
      isInternational: function () {
        this.cdnPath || (this.cdnPath = this.getCdnPath());
        var t = [N, V, G].indexOf(this.cdnPath) > -1;
        return t || "int" === this.getMetaInfo("aplus-env");
      },
      getCookie: function (t) {
        return A.getCookie(t);
      },
      getParam: function (t) {
        var e = u.WindVane || {},
          n = e && "function" == typeof e.getParam ? e.getParam(t) : "";
        return n;
      },
      beforeSendPV: function (t) {
        k.push(t);
      },
      afterSendPV: function (t) {
        U.push(t);
      },
      send: function (t, e, n) {
        var o;
        if (0 === t.indexOf("//")) {
          var a = v.getProtocal();
          t = a + t;
        }
        return (o =
          "POST" === n && navigator && navigator.sendBeacon
            ? S.postData(t, e)
            : S.sendImg(p.makeUrl(t, e), s()));
      },
      launch: function (t, e) {
        var n;
        try {
          (e = h.assign(e, t)), (n = goldlog._$._sendPV(e, t));
          var o = goldlog.spm_ab ? goldlog.spm_ab.join(".") : "0.0";
          T.do_tracker_obsolete_inter({
            page: location.hostname + location.pathname,
            spm_ab: o,
            interface_name: "goldlog.launch",
            interface_params:
              "userdata = " +
              JSON.stringify(t) +
              ", config = " +
              JSON.stringify(e),
          });
        } catch (t) {
        } finally {
          return (
            d.logger({
              msg: "warning: This interface is deprecated, please use goldlog.sendPV instead! API: http://log.alibaba-inc.com/log/info.htm?type=2277&id=31",
            }),
            n
          );
        }
      },
      _$: {
        _sendPV: function (t, e) {
          if (
            ((t = t || {}),
            h.any(k, function (e) {
              return e(goldlog, t) === !1;
            }))
          )
            return !1;
          var o = n(94).SendPV,
            a = new o();
          return (
            "undefined" == typeof t.recordType &&
              (t.recordType = x.recordTypes.pv),
            a.run(t, e, { fn_after_pv: U }),
            !0
          );
        },
        _sendPseudo: function (t, e) {
          t || (t = {});
          var o = n(95).SendPrePV,
            a = new o();
          return (
            "undefined" == typeof t.recordType &&
              (t.recordType = x.recordTypes.prepv),
            a.run(t, e, {}, function () {
              _.doPubMsg(["sendPrePV", "complete"]);
            }),
            !0
          );
        },
      },
      sendPV: function (t, e) {
        return (
          (e = e || {}),
          e.pageName && goldlog.setMetaInfo("aplus-pagename", e.pageName),
          goldlog._$._sendPV(t, e)
        );
      },
      updatePageProperties: function (t) {
        t && "object" == typeof t
          ? (t._page && ((t.pageName = t._page), delete t._page),
            t.pageName &&
              (goldlog.setMetaInfo("aplus-pagename", t.pageName),
              delete t.pageName),
            goldlog.appendMetaInfo("aplus-cpvdata", t))
          : d.logger({
              msg: "warning: typeof updatePageProperties's params must be object",
            });
      },
      beforeRecord: function (t) {
        E.push(t);
      },
      afterRecord: function (t) {
        I.push(t);
      },
      record: function (t, e, n, o, a) {
        if (
          !h.any(E, function (t) {
            return t(goldlog) === !1;
          })
        )
          return (
            "POST" !== o && "WS" !== o && "WS-ONLY" !== o && (o = "GET"),
            j.run(
              { recordType: x.recordTypes.hjlj, method: o },
              { logkey: t, gmkey: e, gokey: n },
              { fn_after_record: I },
              function () {
                "function" == typeof a && a();
              }
            ),
            !0
          );
      },
      recordUdata: function (t, e, n, o, a) {
        var r = m.getGoldlogVal("_$") || {},
          i = r.spm || {};
        "POST" !== o && "WS" !== o && "WS-ONLY" !== o && (o = "GET"),
          j.run(
            { ignore_chksum: !0, method: o, recordType: x.recordTypes.uhjlj },
            {
              logkey: t,
              gmkey: e,
              gokey: n,
              "spm-cnt": i.spm_cnt,
              "spm-pre": i.spm_pre,
            },
            {},
            function () {
              h.isFunction(a) && a();
            }
          );
      },
      setPageSPM: function (t, e, n) {
        var o = "setPageSPM",
          a = goldlog.getMetaInfo("aplus-spm-fixed"),
          s = "function" == typeof n ? n : function () {};
        goldlog.spm_ab = goldlog.spm_ab || [];
        var u = h.cloneObj(goldlog.spm_ab);
        if (
          (t &&
            ((goldlog.spm_ab[0] = "" + t), (goldlog._$.spm.data.a = "" + t)),
          e && ((goldlog.spm_ab[1] = "" + e), (goldlog._$.spm.data.b = "" + e)),
          b.spaInit(goldlog, w, u),
          "1" !== a)
        ) {
          var c = u.join(".");
          goldlog.spmab_pre = c;
        }
        var l = goldlog.spm_ab.join(".");
        _.doPubMsg([o, { spmab_pre: goldlog.spmab_pre, spmab: l }]),
          _.doCachePubs([o, { spmab_pre: goldlog.spmab_pre, spmab: l }]),
          r(),
          i(),
          s();
      },
      setMetaInfo: function (t, e, n) {
        if (y.setMetaInfo(t, e, n)) {
          var o = m.getGoldlogVal("_$") || {};
          o.meta_info = y.qGet();
          var a = m.setGoldlogVal("_$", o),
            r = P.isDisablePvid() + "";
          return (
            "aplus-disable-pvid" === t && r !== e + "" && b.resetSpmCntPvid(),
            _.doPubMsg(["setMetaInfo", t, e, n]),
            _.doCachePubs(["setMetaInfo", t, e, n]),
            a
          );
        }
      },
      appendMetaInfo: y.appendMetaInfo,
      getMetaInfo: function (t) {
        return y.getMetaInfo(t);
      },
      on: g.on,
      cloneDeep: h.cloneDeep,
      getPvId: P.getPvId,
    });
  },
  function (t, e, n) {
    "use strict";
    var o = n(9),
      a = n(25),
      r = n(32),
      i = n(24),
      s = n(89),
      u = n(90),
      c = n(4);
    e.run = function (t, e, n, l) {
      var p = new u();
      p.init({ middleware: [], config: t, plugins: c.plugins_hjlj });
      var g = p.run(),
        f = new c.context_hjlj();
      (f.userdata = e), (f.logger = i.logger);
      var d = {
          context: f,
          pubsub: a.getGoldlogVal("aplus_pubsub"),
          pubsubType: "hjlj",
        },
        _ = new s();
      _.create(d),
        _.wrap(g, function () {
          (d.context.status = "complete"),
            (d.context.method = t.method),
            r.doPubMsg(["mw_change_hjlj", d.context]),
            n &&
              n.fn_after_record &&
              o.each(n.fn_after_record, function (t) {
                t(window.goldlog);
              }),
            "function" == typeof l && l();
        })();
    };
  },
  function (t, e, n) {
    "use strict";
    function o() {}
    var a = n(12),
      r = n(23),
      i = n(24),
      s = n(3),
      u = n(11);
    (o.prototype.create = function (t) {
      for (var e in t) "undefined" == typeof this[e] && (this[e] = t[e]);
      return this;
    }),
      (o.prototype.pubsubInfo = function (t, e) {
        try {
          t &&
            t.pubsub &&
            t.pubsub.publish("mw_change_" + t.pubsubType, t.context, e);
        } catch (t) {}
      }),
      (o.prototype.calledList = []),
      (o.prototype.setCalledList = function (t) {
        a.indexof(this.calledList, t) === -1 && this.calledList.push(t);
      }),
      (o.prototype.resetCalledList = function () {
        this.calledList = [];
      }),
      (o.prototype.wrap = function (t, e) {
        var n = this,
          o = this.context || {},
          c = o.compose || {},
          l = c.maxTimeout || 1e4;
        return function (o) {
          var c,
            p = t.length,
            g = 0,
            f = 0,
            d = function () {
              if ((n.pubsubInfo(n, t[g]), g === p))
                return (
                  (o = "done"),
                  n.resetCalledList(),
                  "function" == typeof e && e.call(n, o),
                  void clearTimeout(c)
                );
              if (a.indexof(n.calledList, g) === -1) {
                if ((n.setCalledList(g), !t[g] || "function" != typeof t[g][0]))
                  return;
                try {
                  o = t[g][0].call(n, o, function () {
                    g++, (f = 1), clearTimeout(c), d(g);
                  });
                } catch (e) {
                  s.do_tracker_jserror({
                    message: e ? e.message : "compose middleware error",
                    error: encodeURIComponent(e.stack),
                    filename: t[g][1],
                  });
                }
              }
              var _ = "number" == typeof o;
              if ("pause" === o || _) {
                f = 0;
                var h = _ ? o : l,
                  m = t[g] ? t[g][1] : "";
                c = r.sleep(h, function () {
                  if (0 === f) {
                    var t =
                      "jump the middleware about " +
                      m +
                      ", because waiting timeout maxTimeout = " +
                      h +
                      "ms!";
                    i.logger({ msg: t });
                    var e = window.goldlog_queue || (window.goldlog_queue = []);
                    e.push({
                      action:
                        "goldlog._aplus_cplugin_m.do_tracker_browser_support",
                      arguments: [
                        {
                          msg: t,
                          spmab: goldlog.spm_ab,
                          page: location.href,
                          etag: n.context ? JSON.stringify(n.context.etag) : "",
                          cna: document.cookie ? u.getCookie("cna") : "",
                        },
                      ],
                    }),
                      (o = null),
                      g++,
                      d(g);
                  }
                });
              } else "done" === o ? ((g = p), d(g)) : (g++, d(g));
            };
          return (
            n.calledList && n.calledList.length > 0 && n.resetCalledList(), d(g)
          );
        };
      }),
      (t.exports = o);
  },
  function (t, e, n) {
    "use strict";
    var o = n(12);
    t.exports = function () {
      return {
        init: function (t) {
          (this.opts = t),
            t && "object" == typeof t.middleware && t.middleware.length > 0
              ? (this.middleware = t.middleware)
              : (this.middleware = []),
            (this.plugins_name = []);
        },
        pubsubInfo: function (t, e) {
          try {
            var n = t.pubsub;
            n && n.publish("plugins_change_" + t.pubsubType, e);
          } catch (t) {}
        },
        checkPluginLoader: function (t, e) {
          var n = !0;
          if (
            ("object" == typeof e.enable &&
            "function" == typeof e.enable.isEnable
              ? (n = e.enable.isEnable(e.name))
              : "boolean" == typeof e.enable && (n = !!e.enable),
            !n)
          )
            return !1;
          if (n && e.deps && e.deps.length > 0)
            for (var a = 0; a < e.deps.length; a++)
              if (o.indexof(this.plugins_name, e.deps[a]) === -1) return !1;
          return !0;
        },
        run: function (t) {
          t || (t = 0);
          var e = this,
            n = this.middleware,
            o = this.opts || {},
            a = o.plugins;
          if (a && "object" == typeof a && a.length > 0) {
            var r = a[t];
            if (
              (this.checkPluginLoader(a, r) &&
                (this.plugins_name.push(r.name),
                n.push([
                  function (t, n) {
                    e.pubsubInfo(this, r);
                    var a = new r.path();
                    return (
                      a.init({ context: this.context, config: o.config }),
                      a.run(t, n)
                    );
                  },
                  r.name,
                ])),
              t++,
              a[t])
            )
              return this.run(t);
          } else
            window.console &&
              console.log(
                "aplus plugins " +
                  JSON.stringify(a) +
                  " must be object of array!"
              );
          return n;
        },
      };
    };
  },
  function (t, e, n) {
    "use strict";
    function o() {
      var t = "true" === l.disablePvid;
      try {
        var e = goldlog.getMetaInfo("aplus-disable-pvid") + "";
        "true" === e ? (t = !0) : "false" === e && (t = !1);
      } catch (t) {}
      return t;
    }
    function a(t) {
      function e(t) {
        var e = "0123456789abcdefhijklmnopqrstuvwxyzABCDEFHIJKLMNOPQRSTUVWXYZ",
          n = "0123456789abcdefghijkmnopqrstuvwxyzABCDEFGHIJKMNOPQRSTUVWXYZ";
        return 1 == t
          ? e.substr(Math.floor(60 * Math.random()), 1)
          : 2 == t
          ? n.substr(Math.floor(60 * Math.random()), 1)
          : "0";
      }
      for (
        var n,
          o = "",
          a = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",
          r = !1;
        o.length < t;

      )
        (n = a.substr(Math.floor(62 * Math.random()), 1)),
          !r &&
            o.length <= 2 &&
            ("g" == n.toLowerCase() || "l" == n.toLowerCase()) &&
            (0 === o.length && "g" == n.toLowerCase()
              ? Math.random() < 0.5 && ((n = e(1)), (r = !0))
              : 1 == o.length &&
                "l" == n.toLowerCase() &&
                "g" == o.charAt(0).toLowerCase() &&
                ((n = e(2)), (r = !0))),
          (o += n);
      return o;
    }
    function r(t, e, n) {
      return t ? u.hash(encodeURIComponent(t)).substr(0, e) : n;
    }
    function i() {
      var t = a(8),
        e = t.substr(0, 4),
        n = t.substr(0, 6);
      return [r(location.href, 4, e), r(document.title, 4, e), n].join("");
    }
    function s() {
      var t = goldlog.pvid;
      return (
        (goldlog.pvid = i()),
        c.doPubMsg(["pvidChange", { pre_pvid: t, pvid: goldlog.pvid }]),
        c.doCachePubs(["pvidChange", { pre_pvid: t, pvid: goldlog.pvid }]),
        o() ? "" : goldlog.pvid
      );
    }
    var u = n(92),
      c = n(32),
      l = n(4);
    (e.isDisablePvid = o),
      (e.makePVId = s),
      (e.getPvId = function () {
        return o() ? "" : goldlog.pvid;
      });
  },
  function (t, e) {
    "use strict";
    var n = 1315423911;
    e.hash = function (t, e) {
      var o,
        a,
        r = e || n;
      for (o = t.length - 1; o >= 0; o--)
        (a = t.charCodeAt(o)), (r ^= (r << 5) + a + (r >> 2));
      var i = (2147483647 & r).toString(16);
      return i;
    };
  },
  function (t, e, n) {
    "use strict";
    function o(t) {
      if (!t) return "";
      var e = decodeURIComponent(t).match(/cache=\w+/);
      return e && 1 === e.length ? e[0].split("=")[1] : void 0;
    }
    var a = n(3),
      r = window;
    (e.sendImg = function (t, e) {
      var n = new Image(),
        i = "_img_" + Math.random();
      r[i] = n;
      var s = function () {
        if (r[i])
          try {
            delete r[i];
          } catch (t) {
            r[i] = void 0;
          }
      };
      return (
        (n.onload = function () {
          s();
        }),
        (n.onerror = function () {
          a.do_tracker_jserror({
            message: "loadError",
            error: "",
            filename: "sendImg",
            logid: o(t),
          }),
            s();
        }),
        setTimeout(function () {
          window[i] &&
            (a.do_tracker_jserror({
              message: "loadTimeout",
              error: e,
              filename: "sendImg",
              logid: o(t),
            }),
            (window[i].src = ""),
            s());
        }, e || 3e3),
        (n.src = t),
        (n = null),
        t
      );
    }),
      (e.postData = function (t, e) {
        var n;
        if ("string" == typeof e) n = e;
        else {
          for (var o in e)
            ["cna"].indexOf(o) === -1 && (e[o] = encodeURIComponent(e[o]));
          n = JSON.stringify(e);
        }
        return navigator.sendBeacon(t, n), t;
      });
  },
  function (t, e, n) {
    "use strict";
    var o = n(9),
      a = n(25),
      r = n(32),
      i = n(24),
      s = n(89),
      u = n(90),
      c = n(4),
      l = function () {};
    (l.prototype.run = function (t, e, n) {
      var l = new u();
      l.init({ middleware: [], config: t, plugins: c.plugins_pv });
      var p = l.run(),
        g = new c.context();
      (g.userdata = e), (g.logger = i.logger);
      var f = {
          context: g,
          pubsub: a.getGoldlogVal("aplus_pubsub"),
          pubsubType: "pv",
        },
        d = new s();
      d.create(f),
        d.wrap(p, function () {
          var e = f.context.can_to_sendpv || {};
          (f.context.status = "YES" === e.flag ? "complete" : "skip"),
            (f.context.method = t.method || "GET"),
            r.doPubMsg(["mw_change_pv", f.context]),
            n &&
              n.fn_after_pv &&
              o.each(n.fn_after_pv, function (e) {
                e(window.goldlog, t);
              });
        })();
    }),
      (e.SendPV = l);
  },
  function (t, e, n) {
    "use strict";
    var o = n(9),
      a = n(25),
      r = n(32),
      i = n(24),
      s = n(89),
      u = n(90),
      c = n(4),
      l = function () {};
    (l.prototype.run = function (t, e, n, l) {
      var p = new u();
      p.init({ middleware: [], config: t, plugins: c.plugins_prepv });
      var g = p.run(),
        f = new c.context_prepv();
      (f.userdata = e), (f.logger = i.logger);
      var d = {
          context: f,
          pubsub: a.getGoldlogVal("aplus_pubsub"),
          pubsubType: "prepv",
        },
        _ = new s();
      _.create(d),
        _.wrap(g, function () {
          (d.context.status = "complete"),
            r.doPubMsg(["mw_change_prepv", d.context]),
            n &&
              n.fn_after_record &&
              o.each(n.fn_after_pv, function (e) {
                e(window.goldlog, t);
              }),
            a.setGoldlogVal("prepv_context", f),
            "function" == typeof l && l();
        })();
    }),
      (e.SendPrePV = l);
  },
  function (t, e, n) {
    "use strict";
    !(function () {
      var t = window.goldlog || (window.goldlog = {}),
        e = n(97);
      t.aplus_pubsub || (t.aplus_pubsub = e.create());
    })();
  },
  function (t, e, n) {
    "use strict";
    function o(t) {
      if ("function" != typeof t) throw new TypeError(t + " is not a function");
      return t;
    }
    var a = n(84),
      r = function (t) {
        for (var e = t.length, n = new Array(e - 1), o = 1; o < e; o++)
          n[o - 1] = t[o];
        return n;
      },
      i = a.extend({
        create: function (t) {
          var e = new this();
          for (var n in t) e[n] = t[n];
          return (e.handlers = []), (e.pubs = {}), e;
        },
        setHandlers: function (t) {
          this.handlers = t;
        },
        subscribe: function (t, e) {
          o(e);
          var n = this,
            a = n.pubs || {},
            r = a[t] || [];
          if (r)
            for (var i = 0; i < r.length; i++) {
              var s = r[i]();
              e.apply(n, s);
            }
          var u = n.handlers || [];
          return t in u || (u[t] = []), u[t].push(e), n.setHandlers(u), n;
        },
        subscribeOnce: function (t, e) {
          o(e);
          var n,
            a = this;
          return (
            this.subscribe.call(
              this,
              t,
              (n = function () {
                a.unsubscribe.call(a, t, n);
                var o = Array.prototype.slice.call(arguments);
                e.apply(a, o);
              })
            ),
            this
          );
        },
        unsubscribe: function (t, e) {
          o(e);
          var n = this.handlers[t];
          if (!n) return this;
          if ("object" == typeof n && n.length > 0) {
            for (var a = 0; a < n.length; a++) {
              var r = e.toString(),
                i = n[a].toString();
              r === i && n.splice(a, 1);
            }
            this.handlers[t] = n;
          } else delete this.handlers[t];
          return this;
        },
        publish: function (t) {
          var e = r(arguments),
            n = this.handlers || [],
            o = n[t] ? n[t].length : 0;
          if (o > 0)
            for (var a = 0; a < o; a++) {
              var i = n[t][a];
              i && "function" == typeof i && i.apply(this, e);
            }
          return this;
        },
        cachePubs: function (t) {
          var e = this.pubs || {},
            n = r(arguments);
          e[t] || (e[t] = []),
            e[t].push(function () {
              return n;
            });
        },
      });
    t.exports = i;
  },
  function (t, e, n) {
    "use strict";
    var o = n(40),
      a = n(32),
      r = n(53),
      i = n(4);
    e.init = function () {
      i.initLoad.init_watchGoldlogQueue("metaQueue"),
        n(99)(function () {
          var t = goldlog._$ || {},
            e = navigator.userAgent;
          e.match(/AliApp\(([A-Z\-]+)\/([\d\.]+)\)/i) && (t.is_ali_app = !0),
            i.utilPvid.makePVId();
          var s = n(51);
          (t.spm = s), (t.is_WindVane = o.is_WindVane);
          var u = t.meta_info;
          s.init(goldlog, u, function () {
            i.initLoad.init_watchGoldlogQueue();
            var t = n(4).spmException,
              e = t.is_exception;
            e || n(102);
            var o,
              r = "complete";
            (o = ["aplusReady", r]), a.doPubMsg(o), a.doCachePubs(o);
          }),
            goldlog.beforeSendPV(function (e, n) {
              if (
                ((t.page_url = location.href),
                (t.page_referrer = r.getRefer()),
                n.is_auto && "1" === u["aplus-manual-pv"])
              )
                return !1;
            }),
            goldlog.afterSendPV(function () {
              window.g_SPM && (g_SPM._current_spm = "");
            }),
            i.is_auto_pv + "" == "true" && goldlog.sendPV({ is_auto: !0 }),
            i.initLoad.run(),
            i.beforeUnload.run();
        });
    };
  },
  function (t, e, n) {
    "use strict";
    var o = n(32),
      a = n(100);
    t.exports = function (t) {
      var e = n(101).AplusInit,
        r = new e();
      r.run({}, function (e) {
        o.doPubMsg(["aplusInitContext", e]),
          o.doCachePubs(["aplusInitContext", e]),
          a(),
          "function" == typeof t && t();
      });
    };
  },
  function (t, e, n) {
    "use strict";
    function o(t) {
      var e = "";
      switch (!0) {
        case r.isJSON(t):
          e = "settled";
          break;
        case r.isString(t):
          e = t;
          break;
        case r.isNumber(t):
          e = t + "";
          break;
        default:
          e = "settled";
      }
      return e;
    }
    var a = n(25),
      r = n(9);
    t.exports = function () {
      try {
        var t = a.getGoldlogVal("hasSendMIC"),
          e = Math.floor(99 * Math.random());
        if (t || 1 !== e) return;
        var n = goldlog && goldlog._$ ? goldlog._$.meta_info : {},
          i = "";
        for (var s in n) r.isEmpty(n[s]) || (i = i + "&" + s + "=" + o(n[s]));
        a.setGoldlogVal("hasSendMIC", !0),
          goldlog.record("/m.i.c", "OTHER", i, "POST");
      } catch (t) {}
    };
  },
  function (t, e, n) {
    "use strict";
    var o = n(25),
      a = n(24),
      r = n(89),
      i = n(90),
      s = n(4),
      u = function () {};
    (u.prototype.run = function (t, e) {
      var n = new i();
      n.init({ middleware: [], config: t, plugins: s.aplus_init });
      var u = n.run(),
        c = new s.context();
      c.logger = a.logger;
      var l = {
          context: c,
          pubsub: o.getGoldlogVal("aplus_pubsub"),
          pubsubType: "aplusinit",
        },
        p = new r();
      p.create(l),
        p.wrap(u, function () {
          "function" == typeof e && e(l.context);
        })();
    }),
      (e.AplusInit = u);
  },
  function (t, e, n) {
    "use strict";
    !(function () {
      var t,
        e = n(9),
        o = n(25),
        a = n(103),
        r = function () {
          t = !0;
          var n = window.g_SPM || {};
          e.isFunction(n.getParam) || e.isFunction(n.spm) || a.run();
        },
        i = window.goldlog || (window.goldlog = {});
      i.aplus_pubsub &&
        "function" == typeof i.aplus_pubsub.publish &&
        i.aplus_pubsub.subscribe("goldlogReady", function (e) {
          "complete" !== e || t || r();
        });
      var s = 0,
        u = function () {
          if (!t) {
            var e = o.getGoldlogVal("_$") || {};
            "complete" === e.status
              ? r()
              : s < 50 &&
                (++s,
                setTimeout(function () {
                  u();
                }, 200));
          }
        };
      u();
    })();
  },
  function (t, e, n) {
    "use strict";
    var o = n(30),
      a = n(25),
      r = n(104),
      i = n(108),
      s = n(109),
      u = n(110),
      c = n(111);
    e.run = function () {
      var t = a.getGoldlogVal("_$") || {},
        e = t.meta_info,
        n = e["aplus-touch"],
        l = {
          isTouchEnabled: o.isTouch() || "1" === n || "tap" === n,
          isTerminal: t.is_terminal || /WindVane/i.test(navigator.userAgent),
        };
      (window.g_SPM = {
        spm_d_for_ad: {},
        resetModule: r.spm_resetModule,
        anchorBeacon: r.spm_spmAnchorChk,
        getParam: r.spm_getSPMParam,
        spm: r.spm_forwap,
      }),
        i.run(l),
        s.run(l),
        u.run(l),
        c.run(l);
    };
  },
  function (t, e, n) {
    "use strict";
    function o(t) {
      if (t && 1 === t.nodeType) {
        s.tryToRemoveAttribute(t, "data-spm-max-idx"),
          s.tryToRemoveAttribute(t, "data-auto-spmd-max-idx");
        for (
          var e = u.nodeListToArray(t.getElementsByTagName("a")),
            n = u.nodeListToArray(t.getElementsByTagName("area")),
            o = e.concat(n),
            a = 0;
          a < o.length;
          a++
        )
          s.tryToRemoveAttribute(o[a], l);
      }
    }
    function a(t, e) {
      var n = s.tryToGetAttribute(t, l),
        o = "0";
      if (n && c.spm_isSPMAnchorIdMatch(n))
        c.spm_anchorEnsureSPMId_inHref(t, n, e);
      else {
        var a = c.spm_spmGetParentSPMId(t.parentNode);
        if (((o = a.spm_c), !o)) return void c.spm_dealNoneSPMLink(t, e);
        c.spm_initSPMModule(a.el, o, e), c.spm_initSPMModule(a.el, o, e, !0);
      }
    }
    function r(t) {
      var e,
        n = t.tagName;
      "A" !== n && "AREA" !== n
        ? (e = c.spm_getParamForAD(t))
        : (a(t, !0), (e = s.tryToGetAttribute(t, l))),
        e || (e = "0.0.0.0");
      var o = goldlog.getPvId();
      4 === e.split(".").length && o && (e += "." + o),
        "A" !== n && "AREA" !== n && s.tryToSetAttribute(t, l, e),
        (e = e.split("."));
      var r = { a: e[0], b: e[1], c: e[2], d: e[3] };
      return e[4] && (r.e = e[4]), r;
    }
    function i(t, e) {
      var n = r(t),
        o = [n.a, n.b, n.c, n.d];
      return e && n.e && o.push(n.e), o.join(".");
    }
    var s = n(27),
      u = n(19),
      c = n(105),
      l = "data-spm-anchor-id";
    (e.spm_resetModule = o),
      (e.spm_spmAnchorChk = a),
      (e.spm_getSPMParam = r),
      (e.spm_forwap = i);
  },
  function (t, e, n) {
    "use strict";
    function o(t) {
      for (
        var e, n = "data-spm-ab-max-idx", o = {}, a = "";
        t && t.tagName != T && t.tagName != x;

      ) {
        if (!a && (a = v.tryToGetAttribute(t, "data-spm-ab"))) {
          (e = parseInt(v.tryToGetAttribute(t, n)) || 0),
            (o.a_spm_ab = a),
            (o.ab_idx = ++e),
            t.setAttribute(n, e);
          break;
        }
        if (v.tryToGetAttribute(t, "data-spm")) break;
        t = t.parentNode;
      }
      return o;
    }
    function a() {
      var t = b.getGoldlogVal("_$") || {},
        e = t.spm || {},
        n = e.data || {};
      return [n.a, n.b].join(".");
    }
    function r(t) {
      var e = a(),
        n = t.split(".");
      return n[0] + "." + n[1] == e;
    }
    function i(t, e) {
      if (
        !goldlog.isUT4Aplus ||
        "UT4Aplus" !== goldlog.getMetaInfo("aplus-toUT")
      ) {
        if (
          (t &&
            /&?\bspm=[^&#]*/.test(t) &&
            (t = t
              .replace(/&?\bspm=[^&#]*/g, "")
              .replace(/&{2,}/g, "&")
              .replace(/\?&/, "?")
              .replace(/\?$/, "")),
          !e)
        )
          return t;
        var n,
          o,
          a,
          r,
          i,
          s,
          u,
          c = "&";
        t.indexOf("#") !== -1 &&
          ((a = t.split("#")), (t = a.shift()), (o = a.join("#"))),
          (r = t.split("?")),
          (i = r.length - 1),
          (a = r[0].split("//")),
          (a = a[a.length - 1].split("/")),
          (s = a.length > 1 ? a.pop() : ""),
          i > 0 && ((n = r.pop()), (t = r.join("?"))),
          n &&
            i > 1 &&
            n.indexOf("&") == -1 &&
            n.indexOf("%") !== -1 &&
            (c = "%26");
        var l = "";
        if (
          ((t = t + "?spm=" + l + e + (n ? c + n : "") + (o ? "#" + o : "")),
          (u = h.isContain(s, ".") ? s.split(".").pop().toLowerCase() : ""))
        ) {
          if (
            { png: 1, jpg: 1, jpeg: 1, gif: 1, bmp: 1, swf: 1 }.hasOwnProperty(
              u
            )
          )
            return 0;
          !n &&
            i <= 1 &&
            (o ||
              {
                htm: 1,
                html: 1,
                php: 1,
                aspx: 1,
                shtml: 1,
                xhtml: 1,
              }.hasOwnProperty(u) ||
              (t += "&file=" + s));
        }
        return t;
      }
    }
    function s(t, e) {
      if (
        !goldlog.isUT4Aplus ||
        "UT4Aplus" !== goldlog.getMetaInfo("aplus-toUT")
      ) {
        var n,
          o = t.innerHTML;
        o &&
          o.indexOf("<") == -1 &&
          ((n = document.createElement("b")),
          (n.style.display = "none"),
          t.appendChild(n)),
          (t.href = e),
          n && t.removeChild(n);
      }
    }
    function u(t, e, n) {
      if (!/^0\.0\.?/.test(e)) {
        var o = y.tryToGetHref(t),
          r = a(),
          u = w.is_ignore_spm(t);
        if (u) {
          var c = _.param2obj(o);
          if (c.spm && c.spm.split)
            for (
              var l = c.spm.split("."), p = e.split("."), g = 0;
              g < 3 && p[g] === l[g];
              g++
            )
              2 === g && l[3] && (e = c.spm);
        }
        t.setAttribute("data-spm-anchor-id", e);
        var f = goldlog.getPvId();
        f && (e += "." + f);
        var d = "0.0";
        (f || (r && r != d)) && (u || n || ((o = i(o, e)) && s(t, o)));
      }
    }
    function c(t) {
      var e = v.tryToGetAttribute(t, A),
        n = m.parseSemicolonContent(e) || {};
      return n;
    }
    function l(t) {
      var e,
        n = b.getGoldlogVal("_$") || {},
        o = n.spm.data;
      return (
        "0" == o.a && "0" == o.b
          ? (e = "0")
          : ((e = v.tryToGetAttribute(t, j)),
            (e && e.match(/^d\w+$/)) || (e = "")),
        e
      );
    }
    function p(t, e) {
      for (
        var n = [],
          o = m.nodeListToArray(t.getElementsByTagName("a")),
          a = m.nodeListToArray(t.getElementsByTagName("area")),
          r = o.concat(a),
          i = 0;
        i < r.length;
        i++
      ) {
        for (var s = !1, u = r[i], c = r[i]; (u = u.parentNode) && u != t; )
          if (v.tryToGetAttribute(u, j)) {
            s = !0;
            break;
          }
        if (!s) {
          var l = v.tryToGetAttribute(c, P);
          e || "t" === l ? e && "t" === l && n.push(c) : n.push(c);
        }
      }
      return n;
    }
    function g(t) {
      for (
        var e, n = t;
        t && t.tagName !== T && t.tagName !== x && t.getAttribute;

      ) {
        var o = t.getAttribute(j);
        if (o) {
          (e = o), (n = t);
          break;
        }
        if (!(t = t.parentNode)) break;
      }
      return e && !/^[\w\-\.\/]+$/.test(e) && (e = "0"), { spm_c: e, el: n };
    }
    function f(t, e) {
      var n = parent !== self;
      if (!n && e) return [t, e].join(".");
      if (t && e) return t + ".i" + e;
      var o = window.g_SPM || (window.g_SPM = {}),
        a = o.spm_d_for_ad || {};
      return (
        "number" == typeof a[t] ? a[t]++ : (a[t] = 0),
        (o.spm_d_for_ad = a),
        t + ".i" + a[t]
      );
    }
    function d(t) {
      var e;
      return t && (e = t.match(/&?\bspm=([^&#]*)/)) ? e[1] : "";
    }
    var _ = n(18),
      h = n(9),
      m = n(19),
      v = n(27),
      b = n(25),
      y = n(106),
      w = n(107),
      x = "BODY",
      T = "HTML",
      j = "data-spm",
      A = "data-spm-click",
      P = "data-auto-spmd",
      S = "data-spm-anchor-id";
    (e.getGlobalSPMId = a),
      (e.spm_isSPMAnchorIdMatch = r),
      (e.spm_updateHrefWithSPMId = i),
      (e.spm_writeHref = s),
      (e.spm_anchorEnsureSPMId_inHref = u),
      (e.getElDataSpm = c),
      (e.spm_getAnchor4thId_spm_d = l),
      (e.spm_getModuleLinks = p),
      (e.spm_spmGetParentSPMId = g),
      (e.get_spm_for_ad = f),
      (e.spm_getParamForAD = function (t) {
        var e = v.tryToGetAttribute(t, S);
        if (!e) {
          var n = a(),
            o = t.parentNode;
          if (!o) return "";
          var r = c(t) || {},
            i = r.locaid || "",
            s = t.getAttribute(j) || i,
            u = g(o),
            l = u.spm_c || 0;
          l &&
            l.indexOf(".") !== -1 &&
            ((l = l.split(".")), (l = l[l.length - 1])),
            (e = f(n + "." + l, s));
        }
        return e;
      }),
      (e.spm_initSPMModule = function (t, e, n, i) {
        var s;
        if ((e = e || t.getAttribute("data-spm") || "")) {
          var g = p(t, i);
          if (0 !== g.length) {
            var f = e.split("."),
              d = h.isStartWith(e, "110") && 3 == f.length;
            d && ((s = f[2]), (f[2] = "w" + (s || "0")), (e = f.join(".")));
            var _ = a();
            if (_ && _.match(/^[\w\-\*]+(\.[\w\-\*\/]+)?$/))
              if (h.isContain(e, ".")) {
                if (!h.isStartWith(e, _)) {
                  var m = _.split(".");
                  f = e.split(".");
                  for (var b = 0; b < m.length; b++) f[b] = m[b];
                  e = f.join(".");
                }
              } else h.isContain(_, ".") || (_ += ".0"), (e = _ + "." + e);
            if (e.match && e.match(/^[\w\-\*]+\.[\w\-\*\/]+\.[\w\-\*\/]+$/)) {
              for (
                var w = "data-auto-spmd-max-idx",
                  x = "data-spm-max-idx",
                  T = i ? w : x,
                  j = parseInt(v.tryToGetAttribute(t, T)) || 0,
                  P = 0;
                P < g.length;
                P++
              ) {
                var k = g[P],
                  U = y.tryToGetHref(k),
                  E = v.tryToGetAttribute(k, A);
                if (i || U || E) {
                  d && k.setAttribute("data-spm-wangpu-module-id", s);
                  var I = k.getAttribute(S);
                  if (I && r(I)) u(k, I, n);
                  else {
                    var M,
                      C,
                      N = o(k.parentNode);
                    N.a_spm_ab
                      ? ((C = N.a_spm_ab), (M = N.ab_idx))
                      : ((C = void 0), j++, (M = j));
                    var V,
                      O = c(k) || {},
                      G = O.locaid || "";
                    G
                      ? (V = G)
                      : ((V = l(k) || M),
                        i && (V = "at" + ((h.isNumber(V) ? 1e3 : "") + V))),
                      (I = C ? e + "-" + C + "." + V : e + "." + V),
                      u(k, I, n);
                  }
                }
              }
              t.setAttribute(T, j);
            }
          }
        }
      }),
      (e.spm_dealNoneSPMLink = function (t, e) {
        var n = goldlog.getMetaInfo("aplus-getspmcd"),
          o = a(),
          r = y.tryToGetHref(t),
          i = d(r),
          c = null,
          p = o && 2 == o.split(".").length;
        if (p) {
          var g;
          return (
            "function" == typeof n && (g = n(t, null, o)),
            (c =
              g && "0" !== g.spm_c ? [o, g.spm_c, g.spm_d] : [o, 0, l(t) || 0]),
            void u(t, c.join("."), e)
          );
        }
        r &&
          i &&
          ((r = r
            .replace(/&?\bspm=[^&#]*/g, "")
            .replace(/&{2,}/g, "&")
            .replace(/\?&/, "?")
            .replace(/\?$/, "")
            .replace(/\?#/, "#")),
          s(t, r));
      });
  },
  function (t, e, n) {
    "use strict";
    var o = n(20);
    e.tryToGetHref = function (t) {
      var e;
      try {
        e = o.trim(t.getAttribute("href", 2));
      } catch (t) {}
      return e || "";
    };
  },
  function (t, e, n) {
    "use strict";
    function o(t) {
      return !!t && !!t.match(/^[^\?]*\balipay\.(?:com|net)\b/i);
    }
    function a(t) {
      return !!t && !!t.match(/^[^\?]*\balipay\.(?:com|net)\/.*\?.*\bsign=.*/i);
    }
    function r(t) {
      var e = location.href;
      return t && e.split("#")[0] === t.split("#")[0];
    }
    function i(t) {
      for (var e; (t = t.parentNode) && "BODY" !== t.tagName; )
        if ((e = u.tryToGetAttribute(t, f))) return e;
      return "";
    }
    function s(t) {
      for (
        var e = [
            "mclick.simba.taobao.com",
            "click.simba.taobao.com",
            "click.tanx.com",
            "click.mz.simba.taobao.com",
            "click.tz.simba.taobao.com",
            "redirect.simba.taobao.com",
            "rdstat.tanx.com",
            "stat.simba.taobao.com",
            "s.click.taobao.com",
          ],
          n = 0;
        n < e.length;
        n++
      )
        if (t.indexOf(e[n]) !== -1) return !0;
      return !1;
    }
    var u = n(27),
      c = n(9),
      l = n(106),
      p = n(25),
      g = n(22),
      f = "data-spm-protocol";
    e.is_ignore_spm = function (t) {
      var e = p.getGoldlogVal("_$") || {},
        n = e.meta_info || {},
        d = l.tryToGetHref(t),
        _ = i(t),
        h = u.tryToGetAttribute(t, f),
        m = "i" === (h || _ || n.spm_protocol);
      if (!d || s(d)) return !0;
      var v = r(d) || g.isStartWithProtocol(d.toLowerCase()),
        b = o(d) || a(d),
        y = v || b;
      return !(m || (!c.isStartWith(d, "#") && !y)) || m;
    };
  },
  function (t, e, n) {
    "use strict";
    function o(t, e, n) {
      var o = u.parseSemicolonContent(e, {}, !0),
        a = o.gostr || "",
        r = o.locaid || "",
        g = t.getAttribute("data-spm") || r,
        f = "CLK",
        d = o.gokey || "",
        _ = p.spm_getSPMParam(t),
        h = [_.a, _.b, _.c, g].join("."),
        m = a + "." + h;
      0 !== m.indexOf("/") && (m = "/" + m);
      var v = [],
        b = ["gostr", "locaid", "gmkey", "gokey", "spm-cnt", "cna"];
      for (var y in o)
        o.hasOwnProperty(y) && c.indexof(b, y) === -1 && v.push(y + "=" + o[y]);
      v.push("_g_et=" + n),
        v.push("autosend=1"),
        d && v.length > 0 && (d += "&"),
        (d += v.length > 0 ? v.join("&") : ""),
        goldlog && s.isFunction(goldlog.recordUdata)
          ? goldlog.recordUdata(m, f, d, "GET", function () {})
          : l.logger({ msg: "goldlog.recordUdata is not function!" }),
        i.tryToSetAttribute(t, "data-spm-anchor-id", h);
    }
    function a(t, e) {
      var n = e;
      window.g_SPM && (g_SPM._current_spm = p.spm_getSPMParam(e));
      for (var a; e && "HTML" !== e.tagName; ) {
        a = i.tryToGetAttribute(e, "data-spm-click");
        {
          if (a) {
            o(e, a, "mousedown" === t.type ? t.type : "tap");
            break;
          }
          e = e.parentNode;
        }
      }
      if (!a) {
        var r = g.getGlobalSPMId(),
          s = goldlog.getMetaInfo("aplus-getspmcd");
        "function" == typeof s && s(n, t, r);
      }
    }
    var r = n(79),
      i = n(27),
      s = n(9),
      u = n(19),
      c = n(12),
      l = n(24),
      p = n(104),
      g = n(105);
    e.run = function (t) {
      t && t.isTouchEnabled
        ? r.on(document, "tap", a)
        : r.on(document, "mousedown", a);
    };
  },
  function (t, e, n) {
    "use strict";
    function o() {
      for (
        var t = document.getElementsByTagName("iframe"), e = 0;
        e < t.length;
        e++
      ) {
        var n = t[e],
          o = r.tryToGetAttribute(n, "data-spm-src");
        if (!n.src && o) {
          var a = s.spm_getSPMParam(n);
          if (a) {
            var u = [a.a, a.b, a.c, a.d];
            a.e && u.push(a.e),
              (a = u.join(".")),
              (n.src = i.spm_updateHrefWithSPMId(o, a));
          } else n.src = o;
        }
      }
    }
    function a() {
      function t() {
        e++, e > 10 && (n = 3e3), o(), setTimeout(t, n);
      }
      var e = 0,
        n = 500;
      t();
    }
    var r = n(27),
      i = n(105),
      s = n(104);
    e.run = function (t) {
      t && !t.isTerminal && a();
    };
  },
  function (t, e, n) {
    "use strict";
    function o(t, e) {
      for (var n, o = window; e && (n = e.tagName); ) {
        if ("A" === n || "AREA" === n) {
          r.spm_spmAnchorChk(e, !1);
          var a = o.g_SPM || (o.g_SPM = {}),
            i = (a._current_spm = r.spm_getSPMParam(e)),
            s = [];
          try {
            s = [i.a, i.b, i.c, i.d];
            var u = i.e || goldlog.pvid || "";
            u && s.push(u);
          } catch (t) {}
          break;
        }
        if ("BODY" == n || "HTML" == n) break;
        e = e.parentNode;
      }
    }
    var a = n(79),
      r = n(104);
    e.run = function (t) {
      var e = document;
      t && t.isTouchEnabled
        ? a.on(e, "tapSpm", o)
        : (a.on(e, "mousedown", o), a.on(e, "keydown", o));
    };
  },
  function (t, e, n) {
    "use strict";
    function o(t, e) {
      if ((e || (e = p), p.evaluate))
        return e.evaluate(t, p, null, 9, null).singleNodeValue;
      for (var n, a = t.split("/"); !n && a.length > 0; ) n = a.shift();
      var r,
        i = /^.+?\[@id='(.+?)']$/i,
        s = /^(.+?)\[(\d+)]$/i;
      return (
        (r = n.match(i))
          ? (e = e.getElementById(r[1]))
          : (r = n.match(s)) &&
            (e = e.getElementsByTagName(r[1])[parseInt(r[2]) - 1]),
        e ? (0 === a.length ? e : o(a.join("/"), e)) : null
      );
    }
    function a() {
      var t = {};
      for (var e in l)
        if (l.hasOwnProperty(e)) {
          var n = o(e);
          if (n) {
            t[e] = 1;
            var a = l[e],
              r = "A" === n.tagName ? a.spmd : a.spmc;
            s.tryToSetAttribute(n, "data-spm", r || "");
          }
        }
      for (var i in t) t.hasOwnProperty(i) && delete l[i];
    }
    function r() {
      if (!c && g.spmData) {
        c = !0;
        var t = g.spmData.data;
        if (t && i.isArray(t)) {
          for (var e = 0; e < t.length; e++) {
            var n = t[e],
              o = n.xpath;
            (o = o.replace(/^id\('(.+?)'\)(.*)/g, "//*[@id='$1']$2")),
              (l[o] = { spmc: n.spmc, spmd: n.spmd });
          }
          a();
        }
      }
    }
    var i = n(9),
      s = n(27),
      u = n(79),
      c = !1,
      l = {},
      p = document,
      g = window;
    (e.wh_updateXPathElements = a),
      (e.init_wh = r),
      (e.run = function () {
        u.DOMReady(function () {
          r();
        });
      });
  },
  function (t, e, n) {
    "use strict";
    function o() {
      var t,
        e = p.getParamFromUrl("utparamcnt", location.href);
      if (e)
        try {
          t = e = JSON.parse(decodeURIComponent(e));
        } catch (t) {}
      return t;
    }
    function a() {
      var t,
        e = d["aplus-utparam"];
      if (e)
        if ("object" == typeof e) t = e;
        else
          try {
            t = JSON.parse(e);
          } catch (t) {}
      return t;
    }
    var r = n(11),
      i = n(53),
      s = n(54),
      u = n(32),
      c = n(42),
      l = n(9),
      p = n(52),
      g = n(4),
      f = n(26),
      d = f.getInfo(),
      _ = "complete";
    e.initGoldlog = function (t) {
      var e = window.goldlog || (window.goldlog = {}),
        n = g.goldlog_path.run.create();
      e._ready_time = new Date().getTime();
      for (var p in n) e[p] = n[p];
      var f = /TB\-PD/i.test(navigator.userAgent),
        h = (e._$ = e._$ || {}),
        m = o(),
        v = a();
      return (
        "object" == typeof m &&
          (v && (m = l.assign(m, v)), (d["aplus-utparam"] = m)),
        (h.meta_info = d),
        (h.is_terminal =
          "aplus_wap" === g.script_name || f || "1" == d["aplus-terminal"]),
        (h.send_pv_count = 0),
        (h.status = _),
        (h.script_name = g.script_name),
        (h.spm = { data: {} }),
        (h.page_referrer = i.getRefer()),
        (h.pageLoadTime = new Date().getTime()),
        (e.lver = g.lver),
        (e.nameStorage = s.nameStorage),
        c.haveNativeFlagInUA(),
        u.doPubMsg(["goldlogReady", _]),
        u.doCachePubs(["goldlogReady", _]),
        u.publishCNA(r.getCookie("cna")),
        t.init(),
        e
      );
    };
  },
]); /*! 2024-09-10 16:39:25 v8.15.24 */
!(function (t) {
  function e(n) {
    if (r[n]) return r[n].exports;
    var a = (r[n] = { exports: {}, id: n, loaded: !1 });
    return t[n].call(a.exports, a, a.exports, e), (a.loaded = !0), a.exports;
  }
  var r = {};
  return (e.m = t), (e.c = r), (e.p = ""), e(0);
})([
  function (t, e) {
    "use strict";
    !(function () {
      function t(t, e, r) {
        t[_](
          (h ? "on" : "") + e,
          function (t) {
            t = t || s.event;
            var e = t.target || t.srcElement;
            r(t, e);
          },
          !1
        );
      }
      function e() {
        return /&?\bspm=[^&#]*/.test(location.href)
          ? location.href.match(/&?\bspm=[^&#]*/gi)[0].split("=")[1]
          : "";
      }
      function r(t, e) {
        if (
          (t &&
            /&?\bspm=[^&#]*/.test(t) &&
            (t = t
              .replace(/&?\bspm=[^&#]*/g, "")
              .replace(/&{2,}/g, "&")
              .replace(/\?&/, "?")
              .replace(/\?$/, "")),
          !e)
        )
          return t;
        var r,
          n,
          a,
          i,
          o,
          c,
          p,
          s = "&";
        if (
          (t.indexOf("#") != -1 &&
            ((a = t.split("#")), (t = a.shift()), (n = a.join("#"))),
          (i = t.split("?")),
          (o = i.length - 1),
          (a = i[0].split("//")),
          (a = a[a.length - 1].split("/")),
          (c = a.length > 1 ? a.pop() : ""),
          o > 0 && ((r = i.pop()), (t = i.join("?"))),
          r &&
            o > 1 &&
            r.indexOf("&") == -1 &&
            r.indexOf("%") != -1 &&
            (s = "%26"),
          (t = t + "?spm=" + e + (r ? s + r : "") + (n ? "#" + n : "")),
          (p = c.indexOf(".") > -1 ? c.split(".").pop().toLowerCase() : ""))
        ) {
          if (
            { png: 1, jpg: 1, jpeg: 1, gif: 1, bmp: 1, swf: 1 }.hasOwnProperty(
              p
            )
          )
            return 0;
          !r &&
            o <= 1 &&
            (n ||
              { htm: 1, html: 1, php: 1 }.hasOwnProperty(p) ||
              (t += "&file=" + c));
        }
        return t;
      }
      function n(t) {
        function e(t) {
          return (
            (t = t
              .replace(/refpos[=(%3D)]\w*/gi, c)
              .replace(i, "%3D" + n + "%26" + a.replace("=", "%3D"))
              .replace(o, n)),
            a.length > 0 && (t += "&" + a),
            t
          );
        }
        var r = window.location.href,
          n = r.match(/mm_\d{0,24}_\d{0,24}_\d{0,24}/i),
          a = r.match(/[&\?](pvid=[^&]*)/i),
          i = new RegExp("%3Dmm_\\d+_\\d+_\\d+", "ig"),
          o = new RegExp("mm_\\d+_\\d+_\\d+", "ig");
        a = a && a[1] ? a[1] : "";
        var c = r.match(
          /(refpos=(\d{0,24}_\d{0,24}_\d{0,24})?(,[a-z]+)?)(,[a-z]+)?/i
        );
        return (c = c && c[0] ? c[0] : ""), n ? ((n = n[0]), e(t)) : t;
      }
      function a(e) {
        var r = s.KISSY;
        r
          ? r.ready(e)
          : s.jQuery
          ? jQuery(m).ready(e)
          : "complete" === m.readyState
          ? e()
          : t(s, "load", e);
      }
      function i(t, e) {
        return t && t.getAttribute ? t.getAttribute(e) || "" : "";
      }
      function o(t) {
        if (t) {
          var e,
            r = g.length;
          for (e = 0; e < r; e++) if (t.indexOf(g[e]) > -1) return !0;
          return !1;
        }
      }
      function c(t, e) {
        if (
          (t &&
            /&?\bspm=[^&#]*/.test(t) &&
            (t = t
              .replace(/&?\bspm=[^&#]*/g, "")
              .replace(/&{2,}/g, "&")
              .replace(/\?&/, "?")
              .replace(/\?$/, "")),
          !e)
        )
          return t;
        var r,
          n,
          a,
          i,
          o,
          c,
          p,
          s = "&";
        if (
          (t.indexOf("#") != -1 &&
            ((a = t.split("#")), (t = a.shift()), (n = a.join("#"))),
          (i = t.split("?")),
          (o = i.length - 1),
          (a = i[0].split("//")),
          (a = a[a.length - 1].split("/")),
          (c = a.length > 1 ? a.pop() : ""),
          o > 0 && ((r = i.pop()), (t = i.join("?"))),
          r &&
            o > 1 &&
            r.indexOf("&") == -1 &&
            r.indexOf("%") != -1 &&
            (s = "%26"),
          (t = t + "?spm=" + e + (r ? s + r : "") + (n ? "#" + n : "")),
          (p = c.indexOf(".") > -1 ? c.split(".").pop().toLowerCase() : ""))
        ) {
          if (
            { png: 1, jpg: 1, jpeg: 1, gif: 1, bmp: 1, swf: 1 }.hasOwnProperty(
              p
            )
          )
            return 0;
          !r &&
            o <= 1 &&
            (n ||
              { htm: 1, html: 1, shtml: 1, php: 1 }.hasOwnProperty(p) ||
              (t += "&__file=" + c));
        }
        return t;
      }
      function p(t) {
        if (o(t.href)) {
          var r = i(t, u);
          if (!r) {
            var n = l()(t),
              a = [n.a, n.b, n.c, n.d].join(".");
            n.e && (n += "." + n.e),
              d &&
                ((a = [n.a || "0", n.b || "0", n.c || "0", n.d || "0"].join(
                  "."
                )),
                (a = (e() || "0.0.0.0.0") + "_" + a)),
              (t.href = c(t.href, a)),
              t.setAttribute(u, a);
          }
        }
      }
      var s = window,
        m = document;
      if (1 !== s.aplus_spmact) {
        s.aplus_spmact = 1;
        var f = function () {
            return { a: 0, b: 0, c: 0, d: 0, e: 0 };
          },
          l = function () {
            return s.g_SPM && s.g_SPM.getParam ? s.g_SPM.getParam : f;
          },
          d = !0;
        try {
          d = self.location != top.location;
        } catch (t) {}
        var u = "data-spm-act-id",
          g = [
            "mclick.simba.taobao.com",
            "click.simba.taobao.com",
            "click.tanx.com",
            "click.mz.simba.taobao.com",
            "click.tz.simba.taobao.com",
            "redirect.simba.taobao.com",
            "rdstat.tanx.com",
            "stat.simba.taobao.com",
            "s.click.taobao.com",
          ],
          h = !!m.attachEvent,
          b = "attachEvent",
          v = "addEventListener",
          _ = h ? b : v;
        t(m, "mousedown", function (t, e) {
          for (var r, n = 0; e && (r = e.tagName); ) {
            if ("A" == r || "AREA" == r) {
              p(e);
              break;
            }
            if ("BODY" == r || "HTML" == r) break;
            (e = e.parentNode), (n += 1);
          }
        }),
          a(function () {
            for (
              var t, a, o = document.getElementsByTagName("iframe"), c = 0;
              c < o.length;
              c++
            ) {
              (t = i(o[c], "mmsrc")), (a = i(o[c], "mmworked"));
              var p = l()(o[c]),
                s = [
                  p.a || "0",
                  p.b || "0",
                  p.c || "0",
                  p.d || "0",
                  p.e || "0",
                ].join(".");
              t && !a
                ? (d &&
                    ((s = [p.a || "0", p.b || "0", p.c || "0", p.d || "0"].join(
                      "."
                    )),
                    (s = e() + "_" + s)),
                  (o[c].src = r(n(t), s)),
                  o[c].setAttribute("mmworked", "mmworked"))
                : o[c].setAttribute(u, s);
            }
          });
      }
    })();
  },
]);
